]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] Feroceon: pass proper -mtune argument to gcc
authorNicolas Pitre <nico@cam.org>
Thu, 4 Dec 2008 06:03:57 +0000 (01:03 -0500)
committerNicolas Pitre <nico@cam.org>
Thu, 11 Dec 2008 21:39:09 +0000 (16:39 -0500)
Compilation for the Feroceon core should use -mtune=marvell-f.  This is
available in Code Sourcery's 2008Q3 release at the moment. Otherwise
fall back to -mtune-=xscale.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/Makefile

index bd6e28115ebb36284050b290ea1d8800fbec3763..384f6b16bfd81e3785d9969c5a614226a0034785 100644 (file)
@@ -76,6 +76,7 @@ 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_XSC3)                :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
+tune-$(CONFIG_CPU_FEROCEON)    :=$(call cc-option,-mtune=marvell-f,-mtune=xscale)
 tune-$(CONFIG_CPU_V6)          :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm)
 
 ifeq ($(CONFIG_AEABI),y)