aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/wireless.mk
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke.mehrtens@intel.com>2016-06-22 17:46:21 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2016-06-30 19:21:02 +0200
commit37fa64a6c54634df8d81066277e614d68efeaca7 (patch)
tree19cb3bf1e106329b9e7f813bb4d0772bd9045d9c /package/kernel/linux/modules/wireless.mk
parent0a0caa2656c8db73518a1783743ede772e3ac40f (diff)
downloadupstream-37fa64a6c54634df8d81066277e614d68efeaca7.tar.gz
upstream-37fa64a6c54634df8d81066277e614d68efeaca7.tar.bz2
upstream-37fa64a6c54634df8d81066277e614d68efeaca7.zip
firmware: extract prism54-firmware into own package
Instead of downloading the firmware for prism54 devices in the wireless.mk do it in an extra package Makefile. To ship the complete source code Intel ships our modified OpenWrt/LEDE + the content of the dl directory. We do not want to have any files in the dl/ directory which are not needed to build our images. The prism54 gets downloaded every time independently of building kmod-net-prism54 or not. When it is in a own package it only gets downloaded when the firmware package is selected. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
Diffstat (limited to 'package/kernel/linux/modules/wireless.mk')
-rw-r--r--package/kernel/linux/modules/wireless.mk17
1 files changed, 1 insertions, 16 deletions
diff --git a/package/kernel/linux/modules/wireless.mk b/package/kernel/linux/modules/wireless.mk
index d7c4425c8c..72e2bf477b 100644
--- a/package/kernel/linux/modules/wireless.mk
+++ b/package/kernel/linux/modules/wireless.mk
@@ -10,7 +10,7 @@ WIRELESS_MENU:=Wireless Drivers
define KernelPackage/net-prism54
SUBMENU:=$(WIRELESS_MENU)
TITLE:=Intersil Prism54 support
- DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT
+ DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT +prism54-firmware
KCONFIG:=CONFIG_PRISM54
FILES:= \
$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.ko@lt4.5 \
@@ -22,21 +22,6 @@ define KernelPackage/net-prism54/description
Kernel modules for Intersil Prism54 support
endef
-# Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
-PRISM54_FW:=1.0.4.3.arm
-
-define Download/net-prism54
- FILE:=$(PRISM54_FW)
- URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
- MD5SUM:=8bd4310971772a486b9784c77f8a6df9
-endef
-
-define KernelPackage/net-prism54/install
- $(INSTALL_DIR) $(1)/lib/firmware
- $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
-endef
-
-$(eval $(call Download,net-prism54))
$(eval $(call KernelPackage,net-prism54))