summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-16 10:21:13 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-16 10:21:13 +0000
commitfeff097f66b5059aba6a7e9b97c485674d983561 (patch)
tree8e7077d7d982e38a272193117e64d7a0bc656580 /package
parent591108bddae9fe9e06c962019848c44d722a3880 (diff)
use KERNEL_CROSS instead of TARGET_CROSS to build kernel modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17286 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/Makefile2
-rw-r--r--package/wprobe/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 7d443da7e..07811bd2b 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -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) \
diff --git a/package/wprobe/Makefile b/package/wprobe/Makefile
index 379aa37c2..02e9919aa 100644
--- a/package/wprobe/Makefile
+++ b/package/wprobe/Makefile
@@ -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) \