Browse Source

don't build mac80211 if the kernel version does not match

SVN-Revision: 9294
Felix Fietkau 18 years ago
parent
commit
e97e09eb5a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      package/mac80211/Makefile

+ 2 - 0
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))