mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
c2630ac910
Kalle Valo ath10k-firmware repository no longer provides the legacy board.bin files for the qca99x0 chips. Instead he copied over the codeaurora version and add more board files. In the future, this board-2.bin should find its way to linux-firmware.git, which would allow us to remove the extra download code completely. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
150 lines
6.4 KiB
Makefile
150 lines
6.4 KiB
Makefile
QCA99X0_BOARD_REV:=e404444dfc0baf7d0fcde21ab8ec333608c9960c
|
|
QCA99X0_BOARD_FILE:=board-2.bin.$(QCA99X0_BOARD_REV)
|
|
|
|
define Download/qca99x0-board
|
|
URL:=https://github.com/kvalo/ath10k-firmware/raw/master/QCA99X0/hw2.0/
|
|
URL_FILE:=board-2.bin
|
|
FILE:=$(QCA99X0_BOARD_FILE)
|
|
HASH:=f91975dca2435fa6f8570146e6b255c2a70b9ffbdf5ef16a29d67bec7374c11a
|
|
endef
|
|
$(eval $(call Download,qca99x0-board))
|
|
|
|
Package/ath10k-board-qca4019 = $(call Package/firmware-default,ath10k qca4019 board firmware)
|
|
define Package/ath10k-board-qca4019/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA4019/hw1.0/board-2.bin \
|
|
$(1)/lib/firmware/ath10k/QCA4019/hw1.0/
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-board-qca4019))
|
|
Package/ath10k-firmware-qca4019 = $(call Package/firmware-default,ath10k qca4019 firmware)
|
|
define Package/ath10k-firmware-qca4019/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA4019/hw1.0/firmware-5.bin \
|
|
$(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-firmware-qca4019))
|
|
|
|
Package/ath10k-board-qca9377 = $(call Package/firmware-default,ath10k qca9377 board firmware)
|
|
define Package/ath10k-board-qca9377/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9377/hw1.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA9377/hw1.0/board-2.bin \
|
|
$(1)/lib/firmware/ath10k/QCA9377/hw1.0/
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-board-qca9377))
|
|
Package/ath10k-firmware-qca9377 = $(call Package/firmware-default,ath10k qca9377 firmware,+ath10k-board-qca9377)
|
|
define Package/ath10k-firmware-qca9377/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9377/hw1.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA9377/hw1.0/firmware-6.bin \
|
|
$(1)/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-firmware-qca9377))
|
|
|
|
Package/ath10k-board-qca9887 = $(call Package/firmware-default,ath10k qca9887 board firmware)
|
|
define Package/ath10k-board-qca9887/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA9887/hw1.0/board.bin \
|
|
$(1)/lib/firmware/ath10k/QCA9887/hw1.0/board.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-board-qca9887))
|
|
Package/ath10k-firmware-qca9887 = $(call Package/firmware-default,ath10k qca9887 firmware,+ath10k-board-qca9887)
|
|
define Package/ath10k-firmware-qca9887/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA9887/hw1.0/firmware-5.bin \
|
|
$(1)/lib/firmware/ath10k/QCA9887/hw1.0/firmware-5.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-firmware-qca9887))
|
|
|
|
Package/ath10k-board-qca9888 = $(call Package/firmware-default,ath10k qca9888 board firmware)
|
|
define Package/ath10k-board-qca9888/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA9888/hw2.0/board-2.bin \
|
|
$(1)/lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-board-qca9888))
|
|
Package/ath10k-firmware-qca9888 = $(call Package/firmware-default,ath10k qca9888 firmware,+ath10k-board-qca9888)
|
|
define Package/ath10k-firmware-qca9888/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA9888/hw2.0/firmware-5.bin \
|
|
$(1)/lib/firmware/ath10k/QCA9888/hw2.0/firmware-5.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-firmware-qca9888))
|
|
|
|
Package/ath10k-board-qca988x = $(call Package/firmware-default,ath10k qca988x board firmware)
|
|
define Package/ath10k-board-qca988x/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA988X/hw2.0/board.bin \
|
|
$(1)/lib/firmware/ath10k/QCA988X/hw2.0/
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-board-qca988x))
|
|
Package/ath10k-firmware-qca988x = $(call Package/firmware-default,ath10k qca988x firmware,+ath10k-board-qca988x)
|
|
define Package/ath10k-firmware-qca988x/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA988X/hw2.0/firmware-5.bin \
|
|
$(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-firmware-qca988x))
|
|
|
|
Package/ath10k-firmware-qca6174 = $(call Package/firmware-default,ath10k qca6174 firmware)
|
|
define Package/ath10k-firmware-qca6174/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA6174/hw2.1
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA6174/hw2.1/board-2.bin \
|
|
$(1)/lib/firmware/ath10k/QCA6174/hw2.1/
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA6174/hw2.1/firmware-5.bin \
|
|
$(1)/lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA6174/hw3.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA6174/hw3.0/board-2.bin \
|
|
$(1)/lib/firmware/ath10k/QCA6174/hw3.0/
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA6174/hw3.0/firmware-6.bin \
|
|
$(1)/lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-firmware-qca6174))
|
|
|
|
Package/ath10k-board-qca99x0 = $(call Package/firmware-default,ath10k qca99x0 board firmware)
|
|
define Package/ath10k-board-qca99x0/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
|
|
$(INSTALL_DATA) \
|
|
$(DL_DIR)/$(QCA99X0_BOARD_FILE) \
|
|
$(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-2.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-board-qca99x0))
|
|
|
|
Package/ath10k-firmware-qca99x0 = $(call Package/firmware-default,ath10k qca99x0 firmware,+ath10k-board-qca99x0)
|
|
define Package/ath10k-firmware-qca99x0/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA99X0/hw2.0/firmware-5.bin \
|
|
$(1)/lib/firmware/ath10k/QCA99X0/hw2.0/firmware-5.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-firmware-qca99x0))
|
|
|
|
Package/ath10k-board-qca9984 = $(call Package/firmware-default,ath10k qca9984 board firmware)
|
|
define Package/ath10k-board-qca9984/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA9984/hw1.0/board-2.bin \
|
|
$(1)/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-board-qca9984))
|
|
Package/ath10k-firmware-qca9984 = $(call Package/firmware-default,ath10k qca9984 firmware,+ath10k-board-qca9984)
|
|
define Package/ath10k-firmware-qca9984/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath10k/QCA9984/hw1.0/firmware-5.bin \
|
|
$(1)/lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin
|
|
endef
|
|
$(eval $(call BuildPackage,ath10k-firmware-qca9984))
|