diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-01-15 11:00:45 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-01-24 16:59:08 -0500 |
commit | bf1af3d872831dd33fff223f007bbcf4e546f5b8 (patch) | |
tree | faae79e0616b697d8873016ae8f04815997fb199 /arch/arm/cpu/ixp/config.mk | |
parent | 84acd1e1794cc86e8c13a2cd7b88cb199d3e526e (diff) | |
download | talos-obmc-uboot-bf1af3d872831dd33fff223f007bbcf4e546f5b8.tar.gz talos-obmc-uboot-bf1af3d872831dd33fff223f007bbcf4e546f5b8.zip |
ARM: merge commonly-defined PLATFORM_RELFLAGS
Before this commit, all arch/arm/cpu/${CPU}/config.mk except ARMv8
had the same option:
$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
This commit moves it into arch/arm/config.mk.
If the compiler does not support the option,
it is ignored by $(call cc-option,...).
So this commit gives no harm to ARMv8.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/ixp/config.mk')
-rw-r--r-- | arch/arm/cpu/ixp/config.mk | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/cpu/ixp/config.mk b/arch/arm/cpu/ixp/config.mk index fd47c60939..894861fb4f 100644 --- a/arch/arm/cpu/ixp/config.mk +++ b/arch/arm/cpu/ixp/config.mk @@ -14,11 +14,3 @@ PLATFORM_CPPFLAGS += -mbig-endian -march=armv5te -mtune=strongarm1100 PLATFORM_LDFLAGS += -EB USE_PRIVATE_LIBGCC = yes - -# ========================================================================= -# -# Supply options according to compiler version -# -# ========================================================================= -PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT) |