linux-firmware: add ath6k firmware to package

Systems which include the ath6k chipset need to have the firmware included
in the image.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
openwrt-18.06
Ben Whitten 2016-06-19 23:49:16 +01:00 committed by Hauke Mehrtens
parent a7c8112a0f
commit 76662637fa
1 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,16 @@ define Package/ar3k-firmware/install
endef endef
$(eval $(call BuildPackage,ar3k-firmware)) $(eval $(call BuildPackage,ar3k-firmware))
Package/ath6k-firmware = $(call Package/firmware-default,AR600X firmware)
define Package/ath6k-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/ath6k
$(CP) \
$(PKG_BUILD_DIR)/ath6k/* \
$(1)/lib/firmware/ath6k
endef
$(eval $(call BuildPackage,ath6k-firmware))
Package/ath9k-htc-firmware = $(call Package/firmware-default,AR9271/AR7010 firmware) Package/ath9k-htc-firmware = $(call Package/firmware-default,AR9271/AR7010 firmware)
define Package/ath9k-htc-firmware/install define Package/ath9k-htc-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/ath9k_htc $(INSTALL_DIR) $(1)/lib/firmware/ath9k_htc