svn commit: r282054 - head/usr.sbin/bluetooth

Garrett Cooper ngie at FreeBSD.org
Mon Apr 27 06:34:52 UTC 2015


Author: ngie
Date: Mon Apr 27 06:34:51 2015
New Revision: 282054
URL: https://svnweb.freebsd.org/changeset/base/282054

Log:
  ath3kfw, bcmfw, bthidcontrol, bthidd all require usb(4); build them
  conditionally if MK_USB != no
  
  MFC after: 1 week

Modified:
  head/usr.sbin/bluetooth/Makefile

Modified: head/usr.sbin/bluetooth/Makefile
==============================================================================
--- head/usr.sbin/bluetooth/Makefile	Mon Apr 27 06:02:47 2015	(r282053)
+++ head/usr.sbin/bluetooth/Makefile	Mon Apr 27 06:34:51 2015	(r282054)
@@ -1,12 +1,10 @@
 # $Id: Makefile,v 1.5 2003/09/08 02:28:35 max Exp $
 # $FreeBSD$
 
+.include <src.opts.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>
 


More information about the svn-src-all mailing list