Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Make the test for MKISCSI actually work by including...



details:   https://anonhg.NetBSD.org/src/rev/cb68305d28a7
branches:  trunk
changeset: 771261:cb68305d28a7
user:      he <he%NetBSD.org@localhost>
date:      Thu Nov 17 09:58:21 2011 +0000

description:
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.

diffstat:

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

diffs (18 lines):

diff -r dea0f0de4c89 -r cb68305d28a7 sys/dev/Makefile
--- a/sys/dev/Makefile  Thu Nov 17 07:45:53 2011 +0000
+++ b/sys/dev/Makefile  Thu Nov 17 09:58:21 2011 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index