summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-03-10 10:22:24 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2009-03-10 10:22:24 +0000
commitb4da2829c109706812b899722deb65eed42d9746 (patch)
treee8add195b5805b708ab5932feb541c9ae0fef6e8 /Makefile
parent4a6908a3a050aacc9c3a2f36b276b46c0629ad91 (diff)
Cross-compilation definitions for ARM.
Sets ARCH to arm and CROSS_COMPILE to arm-none-linux-gnueabi-. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 71e98e9e6acd..6525e260f2be 100644
--- a/Makefile
+++ b/Makefile
@@ -190,8 +190,8 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
# Default value for CROSS_COMPILE is not to prefix executables
# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
export KBUILD_BUILDHOST := $(SUBARCH)
-ARCH ?= $(SUBARCH)
-CROSS_COMPILE ?=
+ARCH ?= arm
+CROSS_COMPILE ?= arm-none-linux-gnueabi-
# Architecture as present in compile.h
UTS_MACHINE := $(ARCH)