Add option to add WCN7850 ath12k firmware. Signed-off-by: Janusz Dziedzic <[email protected]> Link: https://github.com/openwrt/openwrt/pull/15945 Signed-off-by: Hauke Mehrtens <[email protected]>
@@ -0,0 +1,7 @@
+Package/ath12k-firmware-wcn7850 = $(call Package/firmware-default,WCN7850 ath12k firmware)
+define Package/ath12k-firmware-wcn7850/install
+ $(INSTALL_DIR) $(1)/lib/firmware/ath12k/WCN7850/hw2.0
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/ath12k/WCN7850/hw2.0/* $(1)/lib/firmware/ath12k/WCN7850/hw2.0/
+endef
+$(eval $(call BuildPackage,ath12k-firmware-wcn7850))