Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Use HAVE_NVMM for nvmm headers



details:   https://anonhg.NetBSD.org/src/rev/9c6ddd2a3144
branches:  trunk
changeset: 939425:9c6ddd2a3144
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Sep 27 11:57:28 2020 +0000

description:
Use HAVE_NVMM for nvmm headers

diffstat:

 sys/dev/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 9e731c3bbb4c -r 9c6ddd2a3144 sys/dev/Makefile
--- a/sys/dev/Makefile  Sun Sep 27 11:53:03 2020 +0000
+++ b/sys/dev/Makefile  Sun Sep 27 11:57:28 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index