From 3b914222bd035570d74bd8971966fc3eb3489ea6 Mon Sep 17 00:00:00 2001 From: hauke Date: Tue, 2 Mar 2010 21:26:36 +0000 Subject: kernel: add some missing config files and make compat-wireless build with kernel 2.6.33 Thanks tripolar for the missing config symbols git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19956 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'package/mac80211/Makefile') 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 -- cgit v1.2.3