From 864cfd9cce20f90e7a95e919c960499f3c490567 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 13 Jan 2011 23:28:22 +0000 Subject: mac80211: include the kfifo backport in compat.ko if necessary (fixes libertas, rt2x00) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24978 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/mac80211/Makefile') diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index 5317a098eb..11564c5b05 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -994,6 +994,10 @@ MAKE_OPTS:= \ KLIB=$(TARGET_MODULES_DIR) \ KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) +ifeq ($(CONFIG_PACKAGE_kmod-libertas-sd)$(CONFIG_PACKAGE_kmod-libertas-usb)$(CONFIG_PACKAGE_kmod-rt2x00-lib),) + MAKE_OPTS += CONFIG_COMPAT_KFIFO= +endif + define Build/Prepare rm -rf $(PKG_BUILD_DIR) mkdir -p $(PKG_BUILD_DIR) -- cgit v1.2.3