use KERNEL_CROSS instead of TARGET_CROSS to build kernel modules
SVN-Revision: 17286
This commit is contained in:
parent
0eeb0d3c2f
commit
757b8c4adb
2 changed files with 2 additions and 2 deletions
|
@ -434,7 +434,7 @@ BUILDFLAGS:= \
|
||||||
-D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
|
-D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
|
||||||
|
|
||||||
MAKE_OPTS:= \
|
MAKE_OPTS:= \
|
||||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
CROSS_COMPILE="$(KERNEL_CROSS)" \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
EXTRA_CFLAGS="$(BUILDFLAGS)" \
|
EXTRA_CFLAGS="$(BUILDFLAGS)" \
|
||||||
$(foreach opt,$(CONFOPTS),CONFIG_$(opt)=m) \
|
$(foreach opt,$(CONFOPTS),CONFIG_$(opt)=m) \
|
||||||
|
|
|
@ -67,7 +67,7 @@ TARGET_CPPFLAGS := \
|
||||||
ifdef CONFIG_PACKAGE_kmod-wprobe
|
ifdef CONFIG_PACKAGE_kmod-wprobe
|
||||||
define Build/Compile/kmod
|
define Build/Compile/kmod
|
||||||
$(MAKE) -C $(LINUX_DIR) \
|
$(MAKE) -C $(LINUX_DIR) \
|
||||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
CROSS_COMPILE="$(KERNEL_CROSS)" \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
SUBDIRS="$(PKG_BUILD_DIR)/kernel" \
|
SUBDIRS="$(PKG_BUILD_DIR)/kernel" \
|
||||||
KERNELDIR=$(LINUX_DIR) \
|
KERNELDIR=$(LINUX_DIR) \
|
||||||
|
|
Loading…
Reference in a new issue