mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-02-13 06:00:34 +00:00
don't build mac80211 if the kernel version does not match
SVN-Revision: 9294
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user