diff options
| author | jmcneill <jmcneill@NetBSD.org> | 2020-09-26 17:49:49 +0000 |
|---|---|---|
| committer | jmcneill <jmcneill@NetBSD.org> | 2020-09-26 17:49:49 +0000 |
| commit | d4bcf663c5bd81c2a2bc490f749f27e06058a053 (patch) | |
| tree | e10d5b1583725b773058a880f6a8cd83960303aa /lib/Makefile | |
| parent | 4b632a4df032e745724af161ec2c16ed0632442b (diff) | |
Add HAVE_NVMM and use it to control the build of NVMM related components.
Defined to "yes" on amd64, "no" everywhere else.
Diffstat (limited to 'lib/Makefile')
| -rw-r--r-- | lib/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile index 93c5df81dda..8ec54e23424 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.284 2020/06/15 01:57:31 christos Exp $ +# $NetBSD: Makefile,v 1.285 2020/09/26 17:49:50 jmcneill Exp $ # from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91 .include <bsd.own.mk> @@ -50,7 +50,7 @@ SUBDIR+= librumpclient SUBDIR+= libskey .endif -.if ${MACHINE_ARCH} == "x86_64" && ${MLIBDIR:Unone} != "i386" +.if ${HAVE_NVMM:Uno} == "yes" && !defined(MLIBDIR) SUBDIR+= libnvmm .endif |
