mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
590a77f53a
commit
a4bc9ed013
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user