X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7a4bdab85080df3e4a39ed3cf6d7e5ee325a26d2..032445afeec0a2729bd2859138a1d3ef7a0958f4:/package/libertas/Makefile diff --git a/package/libertas/Makefile b/package/libertas/Makefile index bf8cbbc69..decf8c4f5 100644 --- a/package/libertas/Makefile +++ b/package/libertas/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2007 OpenWrt.org +# Copyright (C) 2007 - 2008 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/libertas SUBMENU:=Other modules - DEPENDS:=@TARGET_olpc +kmod-ieee80211 + DEPENDS:=+kmod-ieee80211 TITLE:=Marvell 88W8015 Wireless Driver FILES:= \ $(PKG_BUILD_DIR)/libertas.$(LINUX_KMOD_SUFFIX) \ @@ -25,14 +25,16 @@ define KernelPackage/libertas endef define Download/firmware - URL:=http://dev.laptop.org/pub/firmware/libertas - FILE:=usb8388-5.220.11.p5.bin - MD5SUM=37cc814d5a475fcf8f8fbe89a9c5d546 + URL:=http://dev.laptop.org/pub/firmware/libertas/ + FILE:=usb8388-5.110.22.p20.bin + #MD5SUM=37cc814d5a475fcf8f8fbe89a9c5d546 endef define Build/Prepare mkdir -p $(PKG_BUILD_DIR) $(CP) ./src/* $(PKG_BUILD_DIR)/ + $(Build/Patch) + $(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used) endef define Build/Compile @@ -42,13 +44,13 @@ define Build/Compile SUBDIRS="$(PKG_BUILD_DIR)" \ CONFIG_LIBERTAS=m \ CONFIG_LIBERTAS_USB=m \ - EXTRA_CFLAGS="-I$(PKG_BUILD_DIR) -include compat.h -I$(STAGING_DIR)/usr/include/mac80211" \ + EXTRA_CFLAGS="-I$(PKG_BUILD_DIR) -DCONFIG_LIBERTAS_DEBUG -I$(STAGING_DIR)/usr/include/mac80211" \ modules endef define KernelPackage/libertas/install $(INSTALL_DIR) $(1)/lib/firmware - $(INSTALL_BIN) $(DL_DIR)/usb8388-5.220.11.p5.bin $(1)/lib/firmware/usb8388.bin + $(INSTALL_BIN) $(DL_DIR)/usb8388-5.110.22.p20.bin $(1)/lib/firmware/usb8388.bin $(INSTALL_DATA) ./files/LICENSE $(1)/lib/firmware/ endef