mac80211: fix compile errors on powerpc
authorFelix Fietkau <nbd@openwrt.org>
Sun, 16 Jan 2011 01:24:48 +0000 (01:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 16 Jan 2011 01:24:48 +0000 (01:24 +0000)
SVN-Revision: 25014

package/mac80211/Makefile

index 11564c5b05681fffff538e95b9998179df5b231d..7d2dcc534efe5d5b944b7242e9ad91f3b779c656 100644 (file)
@@ -992,7 +992,8 @@ 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=