aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/linux-firmware/qca.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-10 16:36:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-10 16:36:25 +0000
commit9e5df4a939a35377cfc8680bfed6b1c7aabe2dd0 (patch)
tree53c3626e953fc2f9a9dbaca31c191e2f4c49be64 /package/firmware/linux-firmware/qca.mk
parent6d0d89dc65d03f7a960a2cf0f774ab538723d212 (diff)
downloadupstream-9e5df4a939a35377cfc8680bfed6b1c7aabe2dd0.tar.gz
upstream-9e5df4a939a35377cfc8680bfed6b1c7aabe2dd0.tar.bz2
upstream-9e5df4a939a35377cfc8680bfed6b1c7aabe2dd0.zip
mac80211: move atheros/qca firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48179
Diffstat (limited to 'package/firmware/linux-firmware/qca.mk')
-rw-r--r--package/firmware/linux-firmware/qca.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/qca.mk b/package/firmware/linux-firmware/qca.mk
new file mode 100644
index 0000000000..7ad27ef388
--- /dev/null
+++ b/package/firmware/linux-firmware/qca.mk
@@ -0,0 +1,25 @@
+Package/ar3k-firmware = $(call Package/firmware-default,ath3k firmware)
+define Package/ar3k-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/ar3k
+ $(CP) \
+ $(PKG_BUILD_DIR)/ar3k/*.dfu \
+ $(1)/lib/firmware/ar3k
+endef
+$(eval $(call BuildPackage,ar3k-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
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/ath9k_htc/htc_9271-1.4.0.fw \
+ $(PKG_BUILD_DIR)/ath9k_htc/htc_7010-1.4.0.fw \
+ $(1)/lib/firmware/ath9k_htc
+endef
+$(eval $(call BuildPackage,ath9k-htc-firmware))
+
+Package/carl9170-firmware = $(call Package/firmware-default,AR9170 firmware)
+define Package/carl9170-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/carl9170-1.fw $(1)/lib/firmware
+endef
+$(eval $(call BuildPackage,carl9170-firmware))