aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-03-02 21:26:36 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-03-02 21:26:36 +0000
commitf88371a696184b163f5a7ddd48df16c1c81e7305 (patch)
treeb6759c6deba23d594b4e15f4362ad57f13a718f6 /package
parent141d53ad0772cc875c3cafc8d95c3bf3a76ee35c (diff)
downloadupstream-f88371a696184b163f5a7ddd48df16c1c81e7305.tar.gz
upstream-f88371a696184b163f5a7ddd48df16c1c81e7305.tar.bz2
upstream-f88371a696184b163f5a7ddd48df16c1c81e7305.zip
kernel: add some missing config files and make compat-wireless build with kernel 2.6.33
Thanks tripolar for the missing config symbols SVN-Revision: 19956
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index b83fc1d743..02b355959f 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -42,12 +42,21 @@ define KernelPackage/mac80211
$(call KernelPackage/mac80211/Default)
TITLE:=Linux 802.11 Wireless Networking Stack
DEPENDS+= +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-aes +wireless-tools +iw @!LINUX_2_6_25
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.33)),1)
+ FILES:= \
+ $(PKG_BUILD_DIR)/compat/compat.$(LINUX_KMOD_SUFFIX) \
+ $(PKG_BUILD_DIR)/net/mac80211/mac80211.$(LINUX_KMOD_SUFFIX) \
+ $(PKG_BUILD_DIR)/net/wireless/cfg80211.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,20,compat cfg80211 mac80211)
+else
FILES:= \
$(PKG_BUILD_DIR)/compat/compat.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/compat/compat_firmware_class.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/net/mac80211/mac80211.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/net/wireless/cfg80211.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,20,compat compat_firmware_class cfg80211 mac80211)
+endif
+
endef
define KernelPackage/mac80211/config