summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGeorge G. Davis <davis_g@mvista.com>2005-10-12 19:58:09 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-12 19:58:09 +0100
commitcd26f45bfca4d4fa5ddfe21613d2da46f1acb821 (patch)
tree85ca14c209a808201fcbc21909924a4bcf8d5ec6 /arch
parentceca629e0b4858d6b8bff260dab2e947d31aca56 (diff)
downloadop-kernel-dev-cd26f45bfca4d4fa5ddfe21613d2da46f1acb821.zip
op-kernel-dev-cd26f45bfca4d4fa5ddfe21613d2da46f1acb821.tar.gz
[ARM] 2970/1: Use -mtune=arm1136j-s when building for CPU_V6 targets
Patch from George G. Davis When building for CPU_V6 targets, we should use -mtune=arm1136j-s rather than -mtune=strongarm but fall back to the later in case someone is using an older toolchain (although they should really upgrade instead). Signed-off-by: George G. Davis <gdavis@mvista.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 7779f2d..299bc04 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -53,7 +53,7 @@ tune-$(CONFIG_CPU_ARM926T) :=-mtune=arm9tdmi
tune-$(CONFIG_CPU_SA110) :=-mtune=strongarm110
tune-$(CONFIG_CPU_SA1100) :=-mtune=strongarm1100
tune-$(CONFIG_CPU_XSCALE) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
-tune-$(CONFIG_CPU_V6) :=-mtune=strongarm
+tune-$(CONFIG_CPU_V6) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm)
# Need -Uarm for gcc < 3.x
CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-thumb-interwork,)
OpenPOWER on IntegriCloud