summaryrefslogtreecommitdiff
path: root/cpu/arm_cortexa8/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm_cortexa8/config.mk')
-rw-r--r--cpu/arm_cortexa8/config.mk17
1 files changed, 10 insertions, 7 deletions
diff --git a/cpu/arm_cortexa8/config.mk b/cpu/arm_cortexa8/config.mk
index 954ad98..079bd5f 100644
--- a/cpu/arm_cortexa8/config.mk
+++ b/cpu/arm_cortexa8/config.mk
@@ -30,11 +30,14 @@ PLATFORM_CPPFLAGS += -march=armv5
# Supply options according to compiler version
#
# =========================================================================
-ifdef CONFIG_SYS_APCS_GNU
-PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
-else
-PLATFORM_CPPFLAGS +=$(call cc-option)
-endif
-PLATFORM_CPPFLAGS +=$(call cc-option,-mno-thumb-interwork,)
-PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,\
+#ifdef CONFIG_SYS_APCS_GNU
+#PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
+#else
+#PLATFORM_CPPFLAGS +=$(call cc-option)
+#endif
+#PLATFORM_CPPFLAGS +=$(call cc-option,-mno-thumb-interwork,\
+# $(call cc-option,-mshort-load-bytes,\
+# $(call cc-option,-malignment-traps,)))
+
+PLATFORM_CPPFLAGS +=$(call cc-option,-mshort-load-bytes,\
$(call cc-option,-malignment-traps,))