summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brandt <michael.brandt@stericsson.com>2010-07-29 13:25:49 +0200
committerMichael BRANDT <michael.brandt@stericsson.com>2010-07-29 14:29:32 +0200
commit415211fa4c850467b3e45b7cdb2405ac018dec77 (patch)
tree02cad35470a6f52db5b751f809deae48fdb26971
parent9946602dce35ee6b949eb9df77fc2e42566b51b7 (diff)
Remove -mcpu=cortex-a9 switch
Fixed Android's arm-eabi-gcc GCC 4.4 warning (see below) my removing the cpu switch. warning: switch -mcpu=cortex-a9 conflicts with -march= switch Note: This warning does not appear with the CodeSourcery GCC 4.4 (2009q3) and seems wrong since cortex-a9 is an implementation of ARMv7. Change-Id: I0b26dee03a6ea892f4d62ac0407c0893e372a90b Signed-off-by: Michael Brandt <michael.brandt@stericsson.com> Change-Id: I08f0d3813074b6210a9c18d322ce5e147562c239 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3358 Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com> Reviewed-by: Martin LUNDHOLM <martin.xa.lundholm@stericsson.com> Tested-by: Martin LUNDHOLM <martin.xa.lundholm@stericsson.com>
-rwxr-xr-xcpu/arm_cortexa9/config.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu/arm_cortexa9/config.mk b/cpu/arm_cortexa9/config.mk
index 3036fa624..5987498ad 100755
--- a/cpu/arm_cortexa9/config.mk
+++ b/cpu/arm_cortexa9/config.mk
@@ -23,8 +23,7 @@
PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \
-msoft-float
-# Make ARMv5 to allow more compilers to work, even though its v7a.
-PLATFORM_CPPFLAGS += -march=armv7-a -mcpu=cortex-a9
+PLATFORM_CPPFLAGS += -march=armv7-a
# =========================================================================
#
# Supply options according to compiler version