From: Felix Fietkau Date: Sat, 13 Oct 2007 22:41:46 +0000 (+0000) Subject: don't build mac80211 if the kernel version does not match X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fmkresin.git;a=commitdiff_plain;h=e97e09eb5af0772a7fccc614e39319fd3b7f0340 don't build mac80211 if the kernel version does not match SVN-Revision: 9294 --- 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))