aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/wireless.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-03 08:58:14 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-03 08:58:14 +0000
commit2750423a702eac91d17015e541e321c657c72f18 (patch)
tree29fc1ebb2e89d2e529607ed463481241e55d09ce /package/kernel/modules/wireless.mk
parent05a46c716e24adb817dd5e41ebdb0308ec6b78b2 (diff)
downloadupstream-2750423a702eac91d17015e541e321c657c72f18.tar.gz
upstream-2750423a702eac91d17015e541e321c657c72f18.tar.bz2
upstream-2750423a702eac91d17015e541e321c657c72f18.zip
require all CONFIG_* symbols listed in its KCONFIG to be set to m in order to actually build a kmod package, tweak and fix kernel package definitions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8591 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/wireless.mk')
-rw-r--r--package/kernel/modules/wireless.mk15
1 files changed, 11 insertions, 4 deletions
diff --git a/package/kernel/modules/wireless.mk b/package/kernel/modules/wireless.mk
index 416706cd2f..abe261aef1 100644
--- a/package/kernel/modules/wireless.mk
+++ b/package/kernel/modules/wireless.mk
@@ -20,9 +20,17 @@ define KernelPackage/ieee80211
- ieee80211_crypt_tkip \\\
- ieee80211_crytp_ccmp
DEPENDS:=@LINUX_2_6 +kmod-crypto
- KCONFIG:=CONFIG_IEEE80211
+ KCONFIG:= \
+ CONFIG_IEEE80211 \
+ CONFIG_IEEE80211_CRYPT_WEP \
+ CONFIG_IEEE80211_CRYPT_CCMP \
+ CONFIG_IEEE80211_CRYPT_TKIP
FILES:= \
- $(LINUX_DIR)/net/ieee80211/*.$(LINUX_KMOD_SUFFIX)
+ $(LINUX_DIR)/net/ieee80211/ieee80211_crypt.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/net/ieee80211/ieee80211.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_wep.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_tkip.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_ccmp.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,10, \
ieee80211_crypt \
ieee80211 \
@@ -40,8 +48,7 @@ define KernelPackage/ieee80211-softmac
TITLE:=ieee80211 SoftMAC support
DEPENDS:=kmod-ieee80211
KCONFIG:=CONFIG_IEEE80211_SOFTMAC
- FILES:= \
- $(LINUX_DIR)/net/ieee80211/softmac/*.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(LINUX_DIR)/net/ieee80211/softmac/ieee80211softmac.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,20,ieee80211softmac)
endef