summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-04-28 23:40:53 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-03 00:00:06 +0200
commitbf759874243e522acc39ea7fb4060a3075e2a712 (patch)
treea4cf7abf40ffd8b806aed62ec8f4e652d7502f83 /target/linux
parent4c5bf461cd8cec58ff56b72d09a7fc45b0599636 (diff)
Get rid of KERNEL_CROSS
In both internal and external toolchain cases, KERNEL_CROSS was defined to *exactly* the same value as TARGET_CROSS. It isn't modified anywhere, and is just used by kernel compilation and pcmcia compilation. Therefore, get rid of KERNEL_CROSS and use TARGET_CROSS instead. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/linux')
-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)