diff options
author | Nicolas Thill <nico@openwrt.org> | 2009-08-16 10:21:13 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2009-08-16 10:21:13 +0000 |
commit | 757b8c4adbf687cd0b5c4b2c16896ec32183609b (patch) | |
tree | 3dc7abdc68387b4fea34c299fbea3c189e788c3a | |
parent | 0eeb0d3c2f9029e2be2ea36e218ac3052cb88e08 (diff) | |
download | upstream-757b8c4adbf687cd0b5c4b2c16896ec32183609b.tar.gz upstream-757b8c4adbf687cd0b5c4b2c16896ec32183609b.tar.bz2 upstream-757b8c4adbf687cd0b5c4b2c16896ec32183609b.zip |
use KERNEL_CROSS instead of TARGET_CROSS to build kernel modules
SVN-Revision: 17286
-rw-r--r-- | package/mac80211/Makefile | 2 | ||||
-rw-r--r-- | package/wprobe/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index 7d443da7e6..07811bd2b0 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 379aa37c2a..02e9919aa2 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) \ |