aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-10-13 22:41:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-10-13 22:41:46 +0000
commita4bc9ed013b5fc932b6aca201cace7d3756af5db (patch)
treeb4de6976e7fe551dfdf1816e6880f9656efc5cb6 /package/mac80211/Makefile
parent590a77f53aec7097db66fce28e10f89dbdf9b37e (diff)
downloadmaster-187ad058-a4bc9ed013b5fc932b6aca201cace7d3756af5db.tar.gz
master-187ad058-a4bc9ed013b5fc932b6aca201cace7d3756af5db.tar.bz2
master-187ad058-a4bc9ed013b5fc932b6aca201cace7d3756af5db.zip
don't build mac80211 if the kernel version does not match
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9294 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r--package/mac80211/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index e6e858f847..800ae48994 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -72,6 +72,8 @@ ifneq ($(findstring 2.6.23,$(LINUX_VERSION)),)
$(INSTALL_DIR) $(1)/lib/wifi
$(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
endef
+else
+ override CONFIG_PACKAGE_kmod-mac80211=
endif
$(eval $(call KernelPackage,mac80211))