summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/defaults/Makefile8
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc1
2 files changed, 8 insertions, 1 deletions
diff --git a/etc/defaults/Makefile b/etc/defaults/Makefile
index c6555e6..1f6ac5e 100644
--- a/etc/defaults/Makefile
+++ b/etc/defaults/Makefile
@@ -1,7 +1,13 @@
# $FreeBSD$
-FILES= bluetooth.device.conf devfs.rules periodic.conf rc.conf
+.include <src.opts.mk>
+
+FILES= devfs.rules periodic.conf rc.conf
NO_OBJ=
FILESDIR= /etc/defaults
+.if ${MK_BLUETOOTH} != "no"
+FILES+= bluetooth.device.conf
+.endif
+
.include <bsd.prog.mk>
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index e625428..cccee3c 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -185,6 +185,7 @@ OLD_DIRS+=usr/share/examples/bhyve
OLD_FILES+=etc/bluetooth/hcsecd.conf
OLD_FILES+=etc/bluetooth/hosts
OLD_FILES+=etc/bluetooth/protocols
+OLD_FILES+=etc/defaults/bluetooth.device.conf
OLD_DIRS+=etc/bluetooth
OLD_FILES+=usr/bin/bthost
OLD_FILES+=usr/bin/btsockstat
OpenPOWER on IntegriCloud