diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-01-13 23:28:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-01-13 23:28:22 +0000 |
commit | f05691af9327a1e6ec281ef0ea4425a530d2f633 (patch) | |
tree | 66e0737ec80f3acc26064c06d3c94de16bcf5eb1 /package/mac80211/Makefile | |
parent | 2c0ac457ed55ba61b3391e25dd9ae58eff05b529 (diff) | |
download | upstream-f05691af9327a1e6ec281ef0ea4425a530d2f633.tar.gz upstream-f05691af9327a1e6ec281ef0ea4425a530d2f633.tar.bz2 upstream-f05691af9327a1e6ec281ef0ea4425a530d2f633.zip |
mac80211: include the kfifo backport in compat.ko if necessary (fixes libertas, rt2x00)
SVN-Revision: 24978
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r-- | package/mac80211/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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) |