88f9b66444
add below firmware: BR2_PACKAGE_STARFIVE_FIRMWARE_AP6256_BLUETOOTH BR2_PACKAGE_STARFIVE_FIRMWARE_AP6256_SDIO_WIFI add ap6256 bluetooth and sdio wifi firmware files to /lib/firmware/. for addtional firmware file, we can also add it like this way. Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
26 lines
901 B
Makefile
26 lines
901 B
Makefile
################################################################################
|
|
#
|
|
# starfive-firmware
|
|
#
|
|
################################################################################
|
|
STARFIVE_FIRMWARE_LICENSE = Proprietary
|
|
|
|
# AP6256 Bluetooth
|
|
ifeq ($(BR2_PACKAGE_STARFIVE_FIRMWARE_AP6256_BLUETOOTH),y)
|
|
STARFIVE_FIRMWARE_FILES += $(TOPDIR)/package/starfive/starfive-firmware/ap6256-bluetooth/BCM4345C5.hcd
|
|
endif
|
|
|
|
# AP6256 SDIO Wifi
|
|
ifeq ($(BR2_PACKAGE_STARFIVE_FIRMWARE_AP6256_SDIO_WIFI),y)
|
|
STARFIVE_FIRMWARE_FILES += $(TOPDIR)/package/starfive/starfive-firmware/ap6256-sdio-wifi/fw_bcm43456c5_ag.bin
|
|
STARFIVE_FIRMWARE_FILES += $(TOPDIR)/package/starfive/starfive-firmware/ap6256-sdio-wifi/nvram_ap6256.txt
|
|
endif
|
|
|
|
define STARFIVE_FIRMWARE_INSTALL_TARGET_CMDS
|
|
$(foreach f,$(STARFIVE_FIRMWARE_FILES), \
|
|
$(INSTALL) -m 0755 -D $(f) $(TARGET_DIR)/lib/firmware/; \
|
|
)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|