[PATCH 4/7] arm: use -marm as default when it's possible

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Nov 2 13:51:28 EST 2009


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 arch/arm/Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 4d7040c..af2bb12 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -1,5 +1,7 @@
 
-CPPFLAGS += -D__ARM__ -fno-strict-aliasing
+CPPFLAGS	+= -D__ARM__ -fno-strict-aliasing
+# Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb:
+CPPFLAGS	+=$(call cc-option,-marm,)
 
 # Machine directory name.  This list is sorted alphanumerically
 # by CONFIG_* macro name.
-- 
1.6.5





More information about the u-boot-v2 mailing list