From 84c617beb2ddcda03e36abe553432e2784ada6b7 Mon Sep 17 00:00:00 2001 From: Mike Dunn Date: Fri, 21 Jun 2013 09:12:27 -0700 Subject: [PATCH] pxa: use -mcpu=xscale compiler option Pass '-mcpu=xscale' to the compiler instead of march and mtune. This will cause gcc to define the __XSCALE__ macro. Signed-off-by: Mike Dunn --- arch/arm/cpu/pxa/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/pxa/config.mk b/arch/arm/cpu/pxa/config.mk index 0bbe295a2c..ea558593bc 100644 --- a/arch/arm/cpu/pxa/config.mk +++ b/arch/arm/cpu/pxa/config.mk @@ -24,7 +24,7 @@ PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float -PLATFORM_CPPFLAGS += -march=armv5te -mtune=xscale +PLATFORM_CPPFLAGS += -mcpu=xscale # ========================================================================= # # Supply options according to compiler version -- 2.39.5