don't build mac80211 if the kernel version does not match
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Oct 2007 22:41:46 +0000 (22:41 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Oct 2007 22:41:46 +0000 (22:41 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9294 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/Makefile

index e6e858f..800ae48 100644 (file)
@@ -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))
This page took 0.044769 seconds and 4 git commands to generate.