mac80211: put the !LINUX_4_4 dependency in the right place

Make sure all sub packages are marked as not building for 4.4.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47712
This commit is contained in:
Jonas Gorski 2015-12-03 11:01:34 +00:00
parent 9f3300393a
commit 418a9d4972

View file

@ -71,6 +71,7 @@ WMENU:=Wireless Drivers
define KernelPackage/mac80211/Default
SUBMENU:=$(WMENU)
DEPENDS:=@!LINUX_4_4
URL:=https://wireless.wiki.kernel.org/
MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
endef
@ -78,7 +79,7 @@ endef
define KernelPackage/cfg80211
$(call KernelPackage/mac80211/Default)
TITLE:=cfg80211 - wireless configuration API
DEPENDS+= +iw @!LINUX_4_4
DEPENDS+= +iw
FILES:= \
$(PKG_BUILD_DIR)/compat/compat.ko \
$(PKG_BUILD_DIR)/net/wireless/cfg80211.ko