Преглед изворни кода

linux-firmware: ath12k: package firmware for QCN9274

Package wireless firmware for Qualcomm QCN9274.

Signed-off-by: Mantas Pucka <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18459
Signed-off-by: Christian Marangi <[email protected]>
Mantas Pucka пре 9 месеци
родитељ
комит
de205366a2
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8 0
      package/firmware/linux-firmware/qca_ath12k.mk

+ 8 - 0
package/firmware/linux-firmware/qca_ath12k.mk

@@ -5,3 +5,11 @@ define Package/ath12k-firmware-wcn7850/install
 		$(PKG_BUILD_DIR)/ath12k/WCN7850/hw2.0/* $(1)/lib/firmware/ath12k/WCN7850/hw2.0/
 endef
 $(eval $(call BuildPackage,ath12k-firmware-wcn7850))
+
+Package/ath12k-firmware-qcn9274 = $(call Package/firmware-default,QCN9274 ath12k firmware)
+define Package/ath12k-firmware-qcn9274/install
+	$(INSTALL_DIR) $(1)/lib/firmware/ath12k/QCN9274/hw2.0
+	$(INSTALL_DATA) \
+		$(PKG_BUILD_DIR)/ath12k/QCN9274/hw2.0/* $(1)/lib/firmware/ath12k/QCN9274/hw2.0/
+endef
+$(eval $(call BuildPackage,ath12k-firmware-qcn9274))