aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/linux-firmware
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-10 16:36:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-10 16:36:17 +0000
commit6d0d89dc65d03f7a960a2cf0f774ab538723d212 (patch)
tree964513bba5f6d7089d74c241d76157b4e4d236cb /package/firmware/linux-firmware
parent35baa05d804568923542b3261d705f162e1af729 (diff)
downloadupstream-6d0d89dc65d03f7a960a2cf0f774ab538723d212.tar.gz
upstream-6d0d89dc65d03f7a960a2cf0f774ab538723d212.tar.bz2
upstream-6d0d89dc65d03f7a960a2cf0f774ab538723d212.zip
mac80211: move marvell firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48178
Diffstat (limited to 'package/firmware/linux-firmware')
-rw-r--r--package/firmware/linux-firmware/Makefile2
-rw-r--r--package/firmware/linux-firmware/marvell.mk46
2 files changed, 48 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile
index d268979d44..7dc2b78d38 100644
--- a/package/firmware/linux-firmware/Makefile
+++ b/package/firmware/linux-firmware/Makefile
@@ -21,6 +21,8 @@ PKG_MIRROR_MD5SUM:=ca4d289ad9380471cae376fc7dd3660a
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
+SCAN_DEPS = *.mk
+
include $(INCLUDE_DIR)/package.mk
define Package/firmware-default
diff --git a/package/firmware/linux-firmware/marvell.mk b/package/firmware/linux-firmware/marvell.mk
new file mode 100644
index 0000000000..86c0e6fede
--- /dev/null
+++ b/package/firmware/linux-firmware/marvell.mk
@@ -0,0 +1,46 @@
+Package/mwl8k-firmware = $(call Package/firmware-default,Marvell 8366/8687 firmware)
+define Package/mwl8k-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/mwl8k
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/mwl8k/fmimage_8366_ap-3.fw \
+ $(PKG_BUILD_DIR)/mwl8k/fmimage_8366.fw \
+ $(PKG_BUILD_DIR)/mwl8k/helper_8366.fw \
+ $(PKG_BUILD_DIR)/mwl8k/fmimage_8687.fw \
+ $(PKG_BUILD_DIR)/mwl8k/helper_8687.fw \
+ $(1)/lib/firmware/mwl8k/
+endef
+$(eval $(call BuildPackage,mwl8k-firmware))
+
+Package/mwifiex-pcie-firmware = $(call Package/firmware-default,Marvell 8897 firmware)
+define Package/mwifiex-pcie-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/mrvl
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/mrvl/pcie8897_uapsta.bin \
+ $(1)/lib/firmware/mrvl/
+endef
+$(eval $(call BuildPackage,mwifiex-pcie-firmware))
+
+Package/libertas-usb-firmware = $(call Package/firmware-default,Marvell 8388/8682 USB firmware)
+define Package/libertas-usb-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/libertas
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/libertas/usb8388_v9.bin \
+ $(PKG_BUILD_DIR)/libertas/usb8682.bin \
+ $(1)/lib/firmware/libertas/
+endef
+$(eval $(call BuildPackage,libertas-usb-firmware))
+
+Package/libertas-sdio-firmware = $(call Package/firmware-default,Marvell 8385/8686/8688 SDIO firmware)
+define Package/libertas-sdio-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/libertas
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/libertas/sd8385_helper.bin \
+ $(PKG_BUILD_DIR)/libertas/sd8385.bin \
+ $(PKG_BUILD_DIR)/libertas/sd8686_v9_helper.bin \
+ $(PKG_BUILD_DIR)/libertas/sd8686_v9.bin \
+ $(PKG_BUILD_DIR)/libertas/sd8688_helper.bin \
+ $(PKG_BUILD_DIR)/libertas/sd8688.bin \
+ $(1)/lib/firmware/libertas
+endef
+$(eval $(call BuildPackage,libertas-sdio-firmware))
+