Module Name: src
Committed By: jmcneill
Date: Sun Sep 27 11:57:28 UTC 2020
Modified Files:
src/sys/dev: Makefile
Log Message:
Use HAVE_NVMM for nvmm headers
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/Makefile
diff -u src/sys/dev/Makefile:1.46 src/sys/dev/Makefile:1.47
--- src/sys/dev/Makefile:1.46 Mon Sep 14 00:40:03 2020
+++ src/sys/dev/Makefile Sun Sep 27 11:57:28 2020
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.46 2020/09/14 00:40:03 rin Exp $
+# $NetBSD: Makefile,v 1.47 2020/09/27 11:57:28 jmcneill Exp $
SUBDIR= apm ata bluetooth dec dm dmover dtv hdaudio hdmicec hid hpc \
i2c i2o ic ieee1394 ir isa \
microcode ofw pci pckbport pcmcia pud putter raidframe sbus scsipi \
spi sun tc usb vme wscons
-.if ${MACHINE_ARCH} == "x86_64"
+.include <bsd.own.mk>
+
+.if ${HAVE_NVMM:Uno} == "yes"
SUBDIR+= nvmm
.endif
-.include <bsd.own.mk>
-
.if ${MKISCSI} != "no"
SUBDIR+= iscsi
.endif