summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 02:40:25 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 02:40:59 +0200
commit3f5df9f7d15fb26da3e0bfdd073db6360fa425ef (patch)
treeabf139bc46725f1f1e94de00291ea9ba70a14d60
parentcc2f3ef0e48483f8909f6f29f58bcb984ea27682 (diff)
bluetooth: some broadcom USB bt devces need this, move firmware to brcm subfolder
-rw-r--r--package/brcm-bluetooth/Makefile6
-rw-r--r--target/linux/config/Config.in.bluetooth8
2 files changed, 11 insertions, 3 deletions
diff --git a/package/brcm-bluetooth/Makefile b/package/brcm-bluetooth/Makefile
index cc8cf280f..8f6a9d41e 100644
--- a/package/brcm-bluetooth/Makefile
+++ b/package/brcm-bluetooth/Makefile
@@ -5,7 +5,7 @@ include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= brcm-bluetooth
PKG_VERSION:= 1.0
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_DESCR:= firmware for broadcom bluetooth chips
PKG_SECTION:= sys/firmware
PKG_DEPENDS:= bluez
@@ -27,11 +27,11 @@ do-build:
do-install:
${INSTALL_DIR} ${IDIR_BRCM_BLUETOOTH}/etc/init.d
$(INSTALL_BIN) ./files/hci $(IDIR_BRCM_BLUETOOTH)/etc/init.d/
- ${INSTALL_DIR} ${IDIR_BRCM_BLUETOOTH}/lib/firmware
+ ${INSTALL_DIR} ${IDIR_BRCM_BLUETOOTH}/lib/firmware/brcm
ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI3),y)
${CP} ${WRKBUILD}/BCM43430A1.hcd ${IDIR_BRCM_BLUETOOTH}/lib/firmware
else
- ${CP} ${WRKBUILD}/*.hcd ${IDIR_BRCM_BLUETOOTH}/lib/firmware
+ ${CP} ${WRKBUILD}/*.hcd ${IDIR_BRCM_BLUETOOTH}/lib/firmware/brcm
${INSTALL_DIR} ${IDIR_BRCM_BLUETOOTH}/sbin
${INSTALL_BIN} ${WRKBUILD}/brcm_patchram \
${IDIR_BRCM_BLUETOOTH}/sbin/brcm_patchram
diff --git a/target/linux/config/Config.in.bluetooth b/target/linux/config/Config.in.bluetooth
index 0920336b2..960226e6d 100644
--- a/target/linux/config/Config.in.bluetooth
+++ b/target/linux/config/Config.in.bluetooth
@@ -103,6 +103,14 @@ config ADK_KERNEL_BT_HCIBTUSB
This driver is required if you want to use Bluetooth devices with
USB interface.
+config ADK_KERNEL_BT_HCIBTUSB_BCM
+ tristate "Broadcom protocol support"
+ depends on ADK_KERNEL_BT_HCIBTUSB
+ select ADK_KERNEL_BT_BCM
+ help
+ The Broadcom protocol support enables firmware and patchram
+ download support for Broadcom Bluetooth controllers.
+
config ADK_KERNEL_BT_HCIUART
tristate "HCI UART driver"
select ADK_KERNEL_BT