[source] linux-firmware: add ath6k firmware to package

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 14 16:11:49 PDT 2017


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/76662637fadba33d698c60f754e67645edf3ce50

commit 76662637fadba33d698c60f754e67645edf3ce50
Author: Ben Whitten <ben.whitten at gmail.com>
AuthorDate: Sun Jun 19 23:49:16 2016 +0100

    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 at gmail.com>
---
 package/firmware/linux-firmware/qca.mk | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/package/firmware/linux-firmware/qca.mk b/package/firmware/linux-firmware/qca.mk
index 7ad27ef..0a809d1 100644
--- a/package/firmware/linux-firmware/qca.mk
+++ b/package/firmware/linux-firmware/qca.mk
@@ -7,6 +7,16 @@ define Package/ar3k-firmware/install
 endef
 $(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)
 define Package/ath9k-htc-firmware/install
 	$(INSTALL_DIR) $(1)/lib/firmware/ath9k_htc



More information about the lede-commits mailing list