From: Nicolas Pitre Date: Thu, 4 Dec 2008 06:03:57 +0000 (-0500) Subject: [ARM] Feroceon: pass proper -mtune argument to gcc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b71b9effb5c6aad49682f963291b06018b44ed38;p=openwrt%2Fstaging%2Fblogic.git [ARM] Feroceon: pass proper -mtune argument to gcc 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 --- diff --git a/arch/arm/Makefile b/arch/arm/Makefile index bd6e28115ebb..384f6b16bfd8 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -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)