diff options
author | Mike Dunn <mikedunn@newsguy.com> | 2013-06-21 09:12:27 -0700 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-06-22 15:25:28 +0200 |
commit | 84c617beb2ddcda03e36abe553432e2784ada6b7 (patch) | |
tree | fb49ca50ec920cdf0c2477629d31a7944b7c9af9 /arch/arm | |
parent | 097d86d098ce9c5c59501b4bffd2a3d3324166ef (diff) |
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 <mikedunn@newsguy.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/cpu/pxa/config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/pxa/config.mk b/arch/arm/cpu/pxa/config.mk index 0bbe295a2c0..ea558593bcf 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 |