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 11564c5..7d2dcc5 100644 (file)
@@ -992,7 +992,8 @@ MAKE_OPTS:= \
        KLIB_BUILD="$(LINUX_DIR)" \
        MODPROBE=: \
        KLIB=$(TARGET_MODULES_DIR) \
        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=
 
 ifeq ($(CONFIG_PACKAGE_kmod-libertas-sd)$(CONFIG_PACKAGE_kmod-libertas-usb)$(CONFIG_PACKAGE_kmod-rt2x00-lib),)
   MAKE_OPTS += CONFIG_COMPAT_KFIFO=