use KERNEL_CROSS instead of TARGET_CROSS to build kernel modules
authorNicolas Thill <nico@openwrt.org>
Sun, 16 Aug 2009 10:21:13 +0000 (10:21 +0000)
committerNicolas Thill <nico@openwrt.org>
Sun, 16 Aug 2009 10:21:13 +0000 (10:21 +0000)
SVN-Revision: 17286

package/mac80211/Makefile
package/wprobe/Makefile

index 7d443da7e6ecc30b7e449d972ffbc7228da6d358..07811bd2b0e0066cc59646bb3d770b17077fba5d 100644 (file)
@@ -434,7 +434,7 @@ BUILDFLAGS:= \
        -D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
 
 MAKE_OPTS:= \
-       CROSS_COMPILE="$(TARGET_CROSS)" \
+       CROSS_COMPILE="$(KERNEL_CROSS)" \
        ARCH="$(LINUX_KARCH)" \
        EXTRA_CFLAGS="$(BUILDFLAGS)" \
        $(foreach opt,$(CONFOPTS),CONFIG_$(opt)=m) \
index 379aa37c2aca33a67e1ab3928cd68e692f7762b6..02e9919aa2250755dd61fa0a7c3b9f6fc67f0ea6 100644 (file)
@@ -67,7 +67,7 @@ TARGET_CPPFLAGS := \
 ifdef CONFIG_PACKAGE_kmod-wprobe
   define Build/Compile/kmod
        $(MAKE) -C $(LINUX_DIR) \
-               CROSS_COMPILE="$(TARGET_CROSS)" \
+               CROSS_COMPILE="$(KERNEL_CROSS)" \
                ARCH="$(LINUX_KARCH)" \
                SUBDIRS="$(PKG_BUILD_DIR)/kernel" \
                KERNELDIR=$(LINUX_DIR) \