summaryrefslogtreecommitdiff
path: root/package/mac80211/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-08 01:21:20 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-08 01:21:20 +0000
commit018a28f15805f8c1e3635314f0f96538a2912a5c (patch)
treeca679543908b98b86b317dac9b088548da0c8aa6 /package/mac80211/Makefile
parenta6a76646d0586da3c24098e1ff25e89cb8375ea9 (diff)
let all mac80211 subpackages inherit some defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13930 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r--package/mac80211/Makefile33
1 files changed, 19 insertions, 14 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index acc9c16d31..b8962186f5 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -32,11 +32,16 @@ STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_kmod-mac8021
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)
@@ -58,7 +63,7 @@ endef
$(eval $(call Download,p54))
define KernelPackage/p54/Default
- SUBMENU:=$(WMENU)
+ $(call KernelPackage/mac80211/Default)
TITLE:=Prism54 Drivers
endef
@@ -117,7 +122,7 @@ endef
$(eval $(call Download,rt2860))
define KernelPackage/rt2x00/Default
- SUBMENU:=$(WMENU)
+ $(call KernelPackage/mac80211/Default)
TITLE:=Ralink Drivers for RT2x00 cards
endef
@@ -211,15 +216,15 @@ 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
@@ -228,12 +233,12 @@ define KernelPackage/ath5k
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
@@ -247,7 +252,7 @@ Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets.
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)
@@ -296,10 +301,10 @@ endef
$(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