kumquat-buildroot/package/rpi-bt-firmware/rpi-bt-firmware.mk
Baruch Siach 1f94f1aaab rpi-bt-firmware: new package
Add firmware file for the Raspberry Pi 3 and Zero W Bluetooth module.

Note that to successfully download the firmware bluez5_utils needs a patch[1].

Even though the firmware file name (BCM43430A1.hcd) only mentions the
Bluetooth module, it is most likely tailored for the Raspberry Pi boards.
Firmware for the same BT module on other boards look different. For this
reason the name of the package is rpi-bt-firmware.

[1] http://www.spinics.net/lists/linux-bluetooth/msg69470.html

[Peter: correct Config.in ordering]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-05-03 22:12:06 +02:00

22 lines
764 B
Makefile

################################################################################
#
# 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))