summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-05-13 10:07:50 +0000
committerngie <ngie@FreeBSD.org>2015-05-13 10:07:50 +0000
commitc5c24729d5d9c103a2e6f9448ae79b72c7218920 (patch)
tree6408f88ac3847cf592d9e06464ac507de587cf49 /usr.sbin
parent61b797bd1392937f2dc385ea20f4db83a92a0142 (diff)
downloadFreeBSD-src-c5c24729d5d9c103a2e6f9448ae79b72c7218920.zip
FreeBSD-src-c5c24729d5d9c103a2e6f9448ae79b72c7218920.tar.gz
MFC r282054:
ath3kfw, bcmfw, bthidcontrol, bthidd all require usb(4); build them conditionally if MK_USB != no
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bluetooth/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/usr.sbin/bluetooth/Makefile b/usr.sbin/bluetooth/Makefile
index 594b440..d8603ed 100644
--- a/usr.sbin/bluetooth/Makefile
+++ b/usr.sbin/bluetooth/Makefile
@@ -1,12 +1,10 @@
# $Id: Makefile,v 1.5 2003/09/08 02:28:35 max Exp $
# $FreeBSD$
+.include <bsd.own.mk>
+
SUBDIR= \
- ath3kfw \
- bcmfw \
bt3cfw \
- bthidcontrol \
- bthidd \
btpand \
hccontrol \
hcsecd \
@@ -17,5 +15,12 @@ SUBDIR= \
sdpcontrol \
sdpd
+.if ${MK_USB} != "no"
+SUBDIR+= ath3kfw
+SUBDIR+= bcmfw
+SUBDIR+= bthidcontrol
+SUBDIR+= bthidd
+.endif
+
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud