ath10k-firmware: add qca6174 firmware (mostly untested)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47437
This commit is contained in:
Felix Fietkau 2015-11-10 12:03:39 +00:00
parent ba26e9f60f
commit 759b1c1187

View file

@ -23,25 +23,30 @@ include $(INCLUDE_DIR)/package.mk
WMENU:=Wireless Drivers WMENU:=Wireless Drivers
define Package/ath10k-firmware-qca988x define Package/ath10k-firmware-default
SECTION:=kernel SECTION:=kernel
CATEGORY:=Kernel modules CATEGORY:=Kernel modules
SUBMENU:=$(WMENU) SUBMENU:=$(WMENU)
URL:=$(PKG_SOURCE_URL) URL:=$(PKG_SOURCE_URL)
DEFAULT:=PACKAGE_kmod-ath10k
DEPENDS:=kmod-ath10k DEPENDS:=kmod-ath10k
endef
define Package/ath10k-firmware-qca988x
$(Package/ath10k-firmware-default)
DEFAULT:=PACKAGE_kmod-ath10k
TITLE:=ath10k firmware for QCA988x devices TITLE:=ath10k firmware for QCA988x devices
endef endef
define Package/ath10k-firmware-qca99x0 define Package/ath10k-firmware-qca99x0
SECTION:=kernel $(Package/ath10k-firmware-default)
CATEGORY:=Kernel modules
SUBMENU:=$(WMENU)
URL:=$(PKG_SOURCE_URL)
DEPENDS:=kmod-ath10k
TITLE:=ath10k firmware for QCA99x0 devices TITLE:=ath10k firmware for QCA99x0 devices
endef endef
define Package/ath10k-firmware-qca6174
$(Package/ath10k-firmware-default)
TITLE:=ath10k firmware for QCA6174 devices
endef
define Build/Compile define Build/Compile
endef endef
@ -56,6 +61,11 @@ define Package/ath10k-firmware-qca988x/install
$(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin
endef endef
define Package/ath10k-firmware-qca6174/install
$(INSTALL_DIR) $(1)/lib/firmware/ath10k
$(CP) $(PKG_BUILD_DIR)/ath10k/QCA6174 $(1)/lib/firmware/ath10k/
endef
define Package/ath10k-firmware-qca99x0/install define Package/ath10k-firmware-qca99x0/install
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
$(INSTALL_DATA) \ $(INSTALL_DATA) \
@ -68,3 +78,4 @@ endef
$(eval $(call BuildPackage,ath10k-firmware-qca988x)) $(eval $(call BuildPackage,ath10k-firmware-qca988x))
$(eval $(call BuildPackage,ath10k-firmware-qca99x0)) $(eval $(call BuildPackage,ath10k-firmware-qca99x0))
$(eval $(call BuildPackage,ath10k-firmware-qca6174))