summaryrefslogtreecommitdiffstats
path: root/etc/devd
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-08-15 21:35:31 +0000
committerngie <ngie@FreeBSD.org>2014-08-15 21:35:31 +0000
commit82e14020fd65682e9c4e04af88589597b3609efa (patch)
tree045efd481f4e10d494a50a4099543b06ab5f47ac /etc/devd
parente4261b2c3a9a2282564c39c807ddc0250d6c15eb (diff)
downloadFreeBSD-src-82e14020fd65682e9c4e04af88589597b3609efa.zip
FreeBSD-src-82e14020fd65682e9c4e04af88589597b3609efa.tar.gz
Make the USB and ZFS devd configuration files optional depending on the
values of MK_USB/MK_ZFS Making zfs.conf optional resolves PR # 186971 PR: 186971 Phabric: D606 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'etc/devd')
-rw-r--r--etc/devd/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/devd/Makefile b/etc/devd/Makefile
index c744398..94cafdc 100644
--- a/etc/devd/Makefile
+++ b/etc/devd/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-FILES= uath.conf usb.conf zfs.conf
+.include <src.opts.mk>
.if ${MACHINE} == "powerpc"
FILES+= apple.conf
@@ -10,6 +10,14 @@ FILES+= apple.conf
FILES+= asus.conf
.endif
+.if ${MK_USB} != "no"
+FILES+= uath.conf usb.conf
+.endif
+
+.if ${MK_ZFS} != "no"
+FILES+= zfs.conf
+.endif
+
NO_OBJ=
FILESDIR= /etc/devd
FILESMODE= 644
OpenPOWER on IntegriCloud