X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/870635662ef2bf2853456cbeab353b446d3c11d4..427aee5968a0dfd2b86ba129b330d5dbcedef563:/package/mac80211/Makefile diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index 5317a098e..7d2dcc534 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -992,7 +992,12 @@ MAKE_OPTS:= \ KLIB_BUILD="$(LINUX_DIR)" \ MODPROBE=: \ KLIB=$(TARGET_MODULES_DIR) \ - KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) + KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \ + KBUILD_LDFLAGS_MODULE_PREREQ= + +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)