Module Name:    src
Committed By:   he
Date:           Thu Nov 17 09:58:22 UTC 2011

Modified Files:
        src/sys/dev: Makefile

Log Message:
Make the test for MKISCSI actually work by including bsd.own.mk and
testing the expanded variable, not just the variable name(!)  Fixes the
build for sun2.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 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.33 src/sys/dev/Makefile:1.34
--- src/sys/dev/Makefile:1.33	Tue Nov 15 16:50:43 2011
+++ src/sys/dev/Makefile	Thu Nov 17 09:58:21 2011
@@ -1,10 +1,12 @@
-#	$NetBSD: Makefile,v 1.33 2011/11/15 16:50:43 riz Exp $
+#	$NetBSD: Makefile,v 1.34 2011/11/17 09:58:21 he Exp $
 
 SUBDIR=	apm ata bluetooth dec dm dmover dtv hpc i2c i2o ic ieee1394 ir isa \
 	microcode ofw pci pckbport pcmcia pud putter raidframe sbus scsipi \
 	sun tc usb vme wscons
 
-.if MKISCSI != "no"
+.include <bsd.own.mk>
+
+.if ${MKISCSI} != "no"
 SUBDIR+= iscsi
 .endif
 

Reply via email to