summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-02-05 10:21:21 +0000
committerngie <ngie@FreeBSD.org>2015-02-05 10:21:21 +0000
commitcf206fc8f2fb52ec7b32430b02caeca7cc9d4f22 (patch)
tree7be6c27bb7cff35dde133a4770839efe97b02a05 /etc
parent4b0ec0fcb80978afa6204774c050559d41d5b547 (diff)
downloadFreeBSD-src-cf206fc8f2fb52ec7b32430b02caeca7cc9d4f22.zip
FreeBSD-src-cf206fc8f2fb52ec7b32430b02caeca7cc9d4f22.tar.gz
MFC r270028:
r270028: 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')
-rw-r--r--etc/devd/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/etc/devd/Makefile b/etc/devd/Makefile
index a6c3b58..9afdb47 100644
--- a/etc/devd/Makefile
+++ b/etc/devd/Makefile
@@ -2,8 +2,6 @@
.include <bsd.own.mk>
-FILES= uath.conf usb.conf zfs.conf
-
.if ${MACHINE} == "powerpc"
FILES+= apple.conf
.endif
@@ -16,6 +14,14 @@ FILES+= asus.conf
FILES+= hyperv.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