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.
This commit is contained in:
he 2011-11-17 09:58:21 +00:00
parent 341a625922
commit 63085dd9cd

View File

@ -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