X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ca3f76d2a5a2f330b12be5dcd9d41e6a30648981..ba38e0585024837bc59c618bdd2adfd42d2d9af8:/package/libertas/Makefile diff --git a/package/libertas/Makefile b/package/libertas/Makefile index 66a90c80e..27998b055 100644 --- a/package/libertas/Makefile +++ b/package/libertas/Makefile @@ -4,7 +4,6 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: Makefile 8694 2007-09-08 19:55:42Z nbd $ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk @@ -16,19 +15,21 @@ include $(INCLUDE_DIR)/package.mk # XXX: current version needs 'get_unaligned_le16' helper introduced in 2.6.26 define KernelPackage/libertas - SUBMENU:=Other modules - DEPENDS:=+kmod-ieee80211 @LINUX_2_6_26 @LINUX_2_6_27 @LINUX_2_6_28 + SUBMENU:=Wireless Drivers + DEPENDS:=+kmod-ieee80211 @LINUX_2_6 @!LINUX_2_6_21||!LINUX_2_6_25 TITLE:=Marvell 88W8015 Wireless Driver FILES:= \ $(PKG_BUILD_DIR)/libertas.$(LINUX_KMOD_SUFFIX) \ $(PKG_BUILD_DIR)/usb8xxx.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,20,libertas usb8xxx) + 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 @@ -50,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))