summaryrefslogtreecommitdiff
path: root/sys/dev/Makefile
diff options
context:
space:
mode:
authorriz <riz@NetBSD.org>2011-11-15 16:50:43 +0000
committerriz <riz@NetBSD.org>2011-11-15 16:50:43 +0000
commit2f2b554ac79a30e05ac721db2626014f52f3c01b (patch)
tree838a6815fa75ce79a1c4f0ddcd4dc75e242cc65b /sys/dev/Makefile
parentbf767769b2041a6999de433fc66fffa710358f1b (diff)
Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no. Initiator can also be built into a kernel by adding 'pseudo-device iscsi' in kernel configuration.
Diffstat (limited to 'sys/dev/Makefile')
-rw-r--r--sys/dev/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/Makefile b/sys/dev/Makefile
index 206344c3fac..cbcc21d142c 100644
--- a/sys/dev/Makefile
+++ b/sys/dev/Makefile
@@ -1,9 +1,13 @@
-# $NetBSD: Makefile,v 1.32 2011/10/02 16:39:47 jmcneill Exp $
+# $NetBSD: Makefile,v 1.33 2011/11/15 16:50:43 riz 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"
+SUBDIR+= iscsi
+.endif
+
INCSDIR= /usr/include/dev
# Only install includes which are used by userland