#
-# Copyright (C) 2007-2008 OpenWrt.org
+# Copyright (C) 2007-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id: Makefile 7440 2007-06-02 02:22:01Z nbd $
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_RELEASE:=1
ifneq ($(CONFIG_LINUX_2_6_27)$(CONFIG_LINUX_2_6_28),)
- PKG_VERSION:=2009-01-02
- PKG_SOURCE_URL:=http://www.orbit-lab.org/kernel/compat-wireless-2.6/2009/01
- PKG_MD5SUM:=77effa32de567a7bbaa0ed73cd578fe9
+ PKG_VERSION:=2009-01-07
+ PKG_SOURCE_URL:= \
+ http://www.orbit-lab.org/kernel/compat-wireless-2.6/2009/01 \
+ http://wireless.kernel.org/download/compat-wireless-2.6
+ PKG_MD5SUM:=2788149d630d48686f7ca79131cdbe8c
else
PKG_VERSION:=2008-08-06
PKG_SOURCE_URL:=http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/08
WMENU:=Wireless Drivers
-define KernelPackage/mac80211
+define KernelPackage/mac80211/Default
SUBMENU:=$(WMENU)
- TITLE:=Linux 802.11 Wireless Networking Stack
URL:=http://linuxwireless.org/
- DEPENDS:=@LINUX_2_6 +kmod-crypto-arc4 +kmod-crypto-aes +wireless-tools @!TARGET_avr32
+ DEPENDS:=@LINUX_2_6 @!TARGET_avr32
+endef
+
+define KernelPackage/mac80211
+ $(call KernelPackage/mac80211/Default)
+ TITLE:=Linux 802.11 Wireless Networking Stack
+ DEPENDS+= +kmod-crypto-arc4 +kmod-crypto-aes +wireless-tools
FILES:= \
$(PKG_BUILD_DIR)/net/mac80211/mac80211.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/net/wireless/cfg80211.$(LINUX_KMOD_SUFFIX)
$(eval $(call Download,p54))
define KernelPackage/p54/Default
- SUBMENU:=$(WMENU)
+ $(call KernelPackage/mac80211/Default)
TITLE:=Prism54 Drivers
endef
$(eval $(call Download,rt2860))
define KernelPackage/rt2x00/Default
- SUBMENU:=$(WMENU)
+ $(call KernelPackage/mac80211/Default)
TITLE:=Ralink Drivers for RT2x00 cards
endef
$(eval $(call Download,zd1211rw))
define KernelPackage/zd1211rw
- SUBMENU:=$(WMENU)
+ $(call KernelPackage/mac80211/Default)
TITLE:=Zydas ZD1211 support
- DEPENDS:= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
+ DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/zd1211rw/zd1211rw.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,60,zd1211rw)
endef
define KernelPackage/ath5k
- SUBMENU:=$(WMENU)
+ $(call KernelPackage/mac80211/Default)
TITLE:=Atheros 5xxx wireless cards support
URL:=http://linuxwireless.org/en/users/Drivers/ath5k
DEPENDS+= @PCI_SUPPORT +kmod-mac80211
endef
define KernelPackage/ath5k/description
-This module adds support for wireless adapters based on
-Atheros 5xxx chipset.
+ This module adds support for wireless adapters based on
+ Atheros 5xxx chipset.
endef
define KernelPackage/ath9k
- SUBMENU:=$(WMENU)
+ $(call KernelPackage/mac80211/Default)
TITLE:=Atheros 802.11n wireless cards support
URL:=http://linuxwireless.org/en/users/Drivers/ath9k
DEPENDS+= @PCI_SUPPORT +kmod-mac80211 @LINUX_2_6_27||@LINUX_2_6_28
endef
define KernelPackage/mac80211-hwsim
- SUBMENU:=$(WMENU)
+ $(call KernelPackage/mac80211/Default)
TITLE:=mac80211 HW simulation device
DEPENDS+= +kmod-mac80211
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mac80211_hwsim.$(LINUX_KMOD_SUFFIX)
$(eval $(call Download,b43legacy))
define KernelPackage/b43-common
- SUBMENU:=$(WMENU)
+ $(call KernelPackage/mac80211/Default)
TITLE:=Generic stuff for Broadcom wireless devices
URL:=http://linuxwireless.org/en/users/Drivers/b43
- DEPENDS:=+kmod-mac80211 +!TARGET_brcm47xx:kmod-ssb @TARGET_brcm47xx||@TARGET_brcm63xx @LINUX_2_6_25||@LINUX_2_6_26||@LINUX_2_6_27||@LINUX_2_6_28
+ DEPENDS+= +kmod-mac80211 +!TARGET_brcm47xx:kmod-ssb @TARGET_brcm47xx||@TARGET_brcm63xx @LINUX_2_6_25||@LINUX_2_6_26||@LINUX_2_6_27||@LINUX_2_6_28
endef
define KernelPackage/b43