source "package/am33x-cm3/Config.in"
source "package/b43-firmware/Config.in"
source "package/linux-firmware/Config.in"
+ source "package/rpi-bt-firmware/Config.in"
source "package/rpi-firmware/Config.in"
source "package/sunxi-boards/Config.in"
source "package/ts4900-fpga/Config.in"
--- /dev/null
+config BR2_PACKAGE_RPI_BT_FIRMWARE
+ bool "rpi-bt-firmware"
+ depends on BR2_arm || BR2_aarch64
+ help
+ Raspberry Pi 3 and Zero W Broadcom BCM43438 Bluetooth module
+ firmware.
+
+ https://aur.archlinux.org/packages/pi-bluetooth
--- /dev/null
+################################################################################
+#
+# rpi-bt-firmware
+#
+################################################################################
+
+RPI_BT_FIRMWARE_VERSION = a439f892bf549ddfefa9ba7ad1999cc515f233bf
+RPI_BT_FIRMWARE_SITE = https://aur.archlinux.org/pi-bluetooth.git
+RPI_BT_FIRMWARE_SITE_METHOD = git
+RPI_BT_FIRMWARE_LICENSE = PROPRIETARY
+RPI_BT_FIRMWARE_LICENSE_FILES = LICENCE.broadcom_bcm43xx
+
+# The BlueZ hciattach utility looks for firmware in /etc/firmware. Add a
+# compatibility symlink.
+define RPI_BT_FIRMWARE_INSTALL_TARGET_CMDS
+ ln -sf ../lib/firmware $(TARGET_DIR)/etc/firmware
+ $(INSTALL) -D -m 0644 $(@D)/BCM43430A1.hcd \
+ $(TARGET_DIR)/lib/firmware/BCM43430A1.hcd
+endef
+
+$(eval $(generic-package))