]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
pxa: use -mcpu=xscale compiler option
authorMike Dunn <mikedunn@newsguy.com>
Fri, 21 Jun 2013 16:12:27 +0000 (09:12 -0700)
committerMarek Vasut <marex@denx.de>
Sat, 22 Jun 2013 13:25:28 +0000 (15:25 +0200)
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>
arch/arm/cpu/pxa/config.mk

index 0bbe295a2c051ba954a7c7b2b3472e7b3d001cc6..ea558593bcfa6d6ca17f8badc3c1a7145697de65 100644 (file)
@@ -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