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:
parent
341a625922
commit
63085dd9cd
@ -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 \
|
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 \
|
microcode ofw pci pckbport pcmcia pud putter raidframe sbus scsipi \
|
||||||
sun tc usb vme wscons
|
sun tc usb vme wscons
|
||||||
|
|
||||||
.if MKISCSI != "no"
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
.if ${MKISCSI} != "no"
|
||||||
SUBDIR+= iscsi
|
SUBDIR+= iscsi
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user