summaryrefslogtreecommitdiff
path: root/arch/powerpc/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/config.mk
parente2ce81696a6aeea65e86d7677d270e589a7d4d81 (diff)
downloadu-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/config.mk')
-rw-r--r--arch/powerpc/config.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk
index e6bb935..f75c3bf 100644
--- a/arch/powerpc/config.mk
+++ b/arch/powerpc/config.mk
@@ -9,8 +9,9 @@ CROSS_COMPILE ?= ppc_8xx-
CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
LDFLAGS_FINAL += --gc-sections
-PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections
-PLATFORM_CPPFLAGS += -DCONFIG_PPC -D__powerpc__
+PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections \
+ -meabi
+PLATFORM_CPPFLAGS += -DCONFIG_PPC -D__powerpc__ -ffixed-r2
PLATFORM_LDFLAGS += -n
# Support generic board on PPC