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/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/config.mk')
-rw-r--r-- | arch/powerpc/config.mk | 5 |
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 |