aboutsummaryrefslogtreecommitdiffstats
path: root/package/libertas/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-05-17 13:41:10 +0000
committerNicolas Thill <nico@openwrt.org>2009-05-17 13:41:10 +0000
commitec06808220159c86e6dbbd868ba4305648f2cae9 (patch)
tree4ef5f4178e443fce74494ef0d8b8b737d228955d /package/libertas/Makefile
parent512f8bd6dac14d6861b5823c520b0a75f7f48b6f (diff)
downloadupstream-ec06808220159c86e6dbbd868ba4305648f2cae9.tar.gz
upstream-ec06808220159c86e6dbbd868ba4305648f2cae9.tar.bz2
upstream-ec06808220159c86e6dbbd868ba4305648f2cae9.zip
[package] libertas: use last known stable firmware version, move it to "Wireless Drivers" section, rename LICENSE file to match firmware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15892 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libertas/Makefile')
-rw-r--r--package/libertas/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/libertas/Makefile b/package/libertas/Makefile
index 351495aec0..e1b74a2db3 100644
--- a/package/libertas/Makefile
+++ b/package/libertas/Makefile
@@ -15,7 +15,7 @@ include $(INCLUDE_DIR)/package.mk
# XXX: current version needs 'get_unaligned_le16' helper introduced in 2.6.26
define KernelPackage/libertas
- SUBMENU:=Other modules
+ SUBMENU:=Wireless Drivers
DEPENDS:=+kmod-ieee80211 @LINUX_2_6 @!LINUX_2_6_21||!LINUX_2_6_23||!LINUX_2_6_24||!LINUX_2_6_25
TITLE:=Marvell 88W8015 Wireless Driver
FILES:= \
@@ -24,10 +24,12 @@ define KernelPackage/libertas
AUTOLOAD:=$(call AutoLoad,30,libertas usb8xxx)
endef
+FW_NAME:=usb8388-5.110.22.p23.bin
+
define Download/firmware
- URL:=http://dev.laptop.org/pub/firmware/libertas/
- FILE:=usb8388-5.110.22.p20.bin
- #MD5SUM=37cc814d5a475fcf8f8fbe89a9c5d546
+ URL:=http://dev.laptop.org/pub/firmware/libertas
+ FILE:=$(FW_NAME)
+ MD5SUM=5e38f55719df3d0c58dd3bd02575a09c
endef
define Build/Prepare
@@ -49,8 +51,8 @@ endef
define KernelPackage/libertas/install
$(INSTALL_DIR) $(1)/lib/firmware
- $(INSTALL_BIN) $(DL_DIR)/usb8388-5.110.22.p20.bin $(1)/lib/firmware/usb8388.bin
- $(INSTALL_DATA) ./files/LICENSE $(1)/lib/firmware/
+ $(INSTALL_BIN) $(DL_DIR)/$(FW_NAME) $(1)/lib/firmware/usb8388.bin
+ $(INSTALL_DATA) ./files/LICENSE $(1)/lib/firmware/usb8388.LICENSE
endef
$(eval $(call KernelPackage,libertas))