package/rpi-bt-firmware: change to LibreELEC github repo
authorMartin Bark <martin@barkynet.com>
Sat, 24 Mar 2018 14:10:15 +0000 (14:10 +0000)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 6 Apr 2018 20:05:33 +0000 (22:05 +0200)
Include BCM4345C0.hcd for the rpi3 b+

Signed-off-by: Martin Bark <martin@barkynet.com>
[Thomas: rebase on master, use make foreach loop instead of shell for
loop.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/rpi-bt-firmware/Config.in
package/rpi-bt-firmware/rpi-bt-firmware.hash
package/rpi-bt-firmware/rpi-bt-firmware.mk

index dfc1cee06c636433655255f4b9417d1414e93105..45643d6a52a5845d90384b10d448b7fad1ec5793 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_RPI_BT_FIRMWARE
        depends on BR2_arm || BR2_aarch64
        help
          Raspberry Pi 3 and Zero W Broadcom BCM43438 Bluetooth module
-         firmware.
+         firmware. Raspberry Pi 3 Model B+ Broadcom BCM4345C0
+         Bluetooth module firmware.
 
-         https://aur.archlinux.org/packages/pi-bluetooth
+         https://github.com/LibreELEC/brcmfmac_sdio-firmware-rpi
index f1d06e8ca83732973c97a6d595e01516472efbf1..553a7e4298baecdc8741a4f3b6dda47bb1be67cb 100644 (file)
@@ -1,2 +1,3 @@
 # Locally computed
-sha256 5d9c9364277414ffd67b4a266cdf88e92f28eb937e5a413750e87b7a94161bef  rpi-bt-firmware-a439f892bf549ddfefa9ba7ad1999cc515f233bf.tar.gz
+sha256 beade89c5c072158b6cf18cf741d2695980fd6a4533dab3897bebf90c0631a30  rpi-bt-firmware-18d7c931aff0a8a78360b9b9eaeb15d1224fb907.tar.gz
+sha256 b16056fc91b82a0e3e8de8f86c2dac98201aa9dc3cbd33e8d38f1b087fcec30d  LICENCE.broadcom_bcm43xx
index 644fdc6d5fe74ca8423d7fa93bb6ecf931e2ec65..bbb40854e8eea940d7400094c9ca8ab8e7cfec7f 100644 (file)
@@ -4,15 +4,17 @@
 #
 ################################################################################
 
-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_VERSION = 18d7c931aff0a8a78360b9b9eaeb15d1224fb907
+RPI_BT_FIRMWARE_SITE = $(call github,LibreELEC,brcmfmac_sdio-firmware-rpi,$(RPI_BT_FIRMWARE_VERSION))
 RPI_BT_FIRMWARE_LICENSE = PROPRIETARY
 RPI_BT_FIRMWARE_LICENSE_FILES = LICENCE.broadcom_bcm43xx
 
+RPI_BT_FIRMWARE_FILES = brcm/BCM43430A1.hcd BCM4345C0.hcd
+
 define RPI_BT_FIRMWARE_INSTALL_TARGET_CMDS
-       $(INSTALL) -D -m 0644 $(@D)/BCM43430A1.hcd \
-               $(TARGET_DIR)/lib/firmware/BCM43430A1.hcd
+       $(foreach file,$(RPI_BT_FIRMWARE_FILES),\
+               $(INSTALL) -D -m 0644 $(@D)/firmware/$(file) $(TARGET_DIR)/lib/firmware/$(notdir $(file))
+       )
 endef
 
 $(eval $(generic-package))