diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-10-07 16:03:31 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-10-07 16:03:31 +0000 |
commit | ab969ad78e2a6ea754714b4bc18bbf511e4e48bb (patch) | |
tree | f6680ee7bb34215ac6602588238e78d8a2d2c6bf /package/libertas/Makefile | |
parent | 4cce3b1620d3ad13b15697efcce0f39f7cd5f51a (diff) |
[package] libertas: use driver from compat-wireless instead of our own (deprecated) one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17982 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libertas/Makefile')
-rw-r--r-- | package/libertas/Makefile | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/package/libertas/Makefile b/package/libertas/Makefile deleted file mode 100644 index 27998b055b..0000000000 --- a/package/libertas/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -# -# Copyright (C) 2007 - 2008 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/kernel.mk - -PKG_NAME:=kmod-libertas -PKG_RELEASE:=1 - -include $(INCLUDE_DIR)/package.mk - -# XXX: current version needs 'get_unaligned_le16' helper introduced in 2.6.26 -define KernelPackage/libertas - 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,30,libertas usb8xxx) -endef - -FW_NAME:=usb8388-5.110.22.p23.bin - -define Download/firmware - URL:=http://dev.laptop.org/pub/firmware/libertas - FILE:=$(FW_NAME) - MD5SUM=5e38f55719df3d0c58dd3bd02575a09c -endef - -define Build/Prepare - mkdir -p $(PKG_BUILD_DIR) - $(CP) ./src/* $(PKG_BUILD_DIR)/ - $(Build/Patch) -endef - -define Build/Compile - $(MAKE) -C "$(LINUX_DIR)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - ARCH="$(LINUX_KARCH)" \ - SUBDIRS="$(PKG_BUILD_DIR)" \ - CONFIG_LIBERTAS=m \ - CONFIG_LIBERTAS_USB=m \ - 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)/$(FW_NAME) $(1)/lib/firmware/usb8388.bin - $(INSTALL_DATA) ./files/LICENSE $(1)/lib/firmware/usb8388.LICENSE -endef - -$(eval $(call KernelPackage,libertas)) -$(eval $(call Download,firmware)) |