summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/Makefile.in2
-rw-r--r--target/linux/Makefile.in.advanced2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/Makefile.in b/target/linux/Makefile.in
index 41e482131..ea7440944 100644
--- a/target/linux/Makefile.in
+++ b/target/linux/Makefile.in
@@ -85,7 +85,7 @@ endif
LINUX26_MAKE_FLAGS = HOSTCC="$(HOSTCC)" HOSTCFLAGS="$(HOSTCFLAGS)" \
ARCH=$(KERNEL_ARCH) \
INSTALL_MOD_PATH=$(TARGET_DIR) \
- CROSS_COMPILE=$(KERNEL_CROSS) \
+ CROSS_COMPILE=$(TARGET_CROSS) \
LDFLAGS="$(TARGET_LDFLAGS)" \
LZMA="$(LZMA)"
diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced
index 745224d3f..a95852de7 100644
--- a/target/linux/Makefile.in.advanced
+++ b/target/linux/Makefile.in.advanced
@@ -179,7 +179,7 @@ LINUX26_BZCAT:=$(BZCAT)
LINUX26_MAKE_FLAGS = HOSTCC="$(HOSTCC)" HOSTCFLAGS="$(HOSTCFLAGS)" \
ARCH=$(KERNEL_ARCH) \
INSTALL_MOD_PATH=$(TARGET_DIR) \
- CROSS_COMPILE=$(KERNEL_CROSS) \
+ CROSS_COMPILE=$(TARGET_CROSS) \
LDFLAGS="$(TARGET_LDFLAGS)" \
LZMA="$(LZMA)" \
PATH=$(LINUX26_MKIMAGE_DIR):$(PATH)