use KERNEL_CROSS instead of TARGET_CROSS to build kernel modules
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 16 Aug 2009 10:21:13 +0000 (10:21 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 16 Aug 2009 10:21:13 +0000 (10:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17286 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/Makefile
package/wprobe/Makefile

index 7d443da..07811bd 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 379aa37..02e9919 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) \
This page took 0.025736 seconds and 4 git commands to generate.