summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu/mpc85xx/config.mk
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-11-26 10:53:58 +0900
committerTom Rini <trini@ti.com>2013-12-13 09:17:32 -0500
commitde04d64eda42490f94d638e8ee2e12e494e80417 (patch)
treebab0cab33084a61d19e2e115187878601ed3c684 /arch/powerpc/cpu/mpc85xx/config.mk
parente2ce81696a6aeea65e86d7677d270e589a7d4d81 (diff)
downloadblackbird-obmc-uboot-de04d64eda42490f94d638e8ee2e12e494e80417.tar.gz
blackbird-obmc-uboot-de04d64eda42490f94d638e8ee2e12e494e80417.zip
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.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/config.mk b/arch/powerpc/cpu/mpc85xx/config.mk
index 9eef539e5e..72c964cd15 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)
OpenPOWER on IntegriCloud