diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-11-26 10:53:58 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-12-13 09:17:32 -0500 |
commit | de04d64eda42490f94d638e8ee2e12e494e80417 (patch) | |
tree | bab0cab33084a61d19e2e115187878601ed3c684 /arch/powerpc/cpu/mpc85xx/config.mk | |
parent | e2ce81696a6aeea65e86d7677d270e589a7d4d81 (diff) | |
download | u-boot-imx-de04d64eda42490f94d638e8ee2e12e494e80417.zip u-boot-imx-de04d64eda42490f94d638e8ee2e12e494e80417.tar.gz u-boot-imx-de04d64eda42490f94d638e8ee2e12e494e80417.tar.bz2 |
PowerPC: merge commonly-defined flags
PLATFORM_RELFLAGS += -meabi
PLATFORM_CPPFLAGS += -ffixed-r2
were defined in all arch/powerpc/${CPU}/config.mk.
This commit moves them to arch/powerpc/config.mk.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/config.mk')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/config.mk | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/config.mk b/arch/powerpc/cpu/mpc85xx/config.mk index 9eef539..72c964c 100644 --- a/arch/powerpc/cpu/mpc85xx/config.mk +++ b/arch/powerpc/cpu/mpc85xx/config.mk @@ -5,13 +5,10 @@ # SPDX-License-Identifier: GPL-2.0+ # -PLATFORM_RELFLAGS += -meabi - -PLATFORM_CPPFLAGS += -ffixed-r2 -Wa,-me500 -msoft-float -mno-string +PLATFORM_CPPFLAGS += -Wa,-me500 -msoft-float -mno-string # -mspe=yes is needed to have -mno-spe accepted by a buggy GCC; # see "[PATCH,rs6000] make -mno-spe work as expected" on # http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html -PF_CPPFLAGS_SPE := $(call cc-option,-mspe=yes) \ +PLATFORM_CPPFLAGS += $(call cc-option,-mspe=yes) \ $(call cc-option,-mno-spe) -PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_SPE) |