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/ppc4xx/config.mk | |
parent | e2ce81696a6aeea65e86d7677d270e589a7d4d81 (diff) |
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/ppc4xx/config.mk')
-rw-r--r-- | arch/powerpc/cpu/ppc4xx/config.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/config.mk b/arch/powerpc/cpu/ppc4xx/config.mk index c2b0f9aab60..71c2a6c729f 100644 --- a/arch/powerpc/cpu/ppc4xx/config.mk +++ b/arch/powerpc/cpu/ppc4xx/config.mk @@ -5,8 +5,7 @@ # SPDX-License-Identifier: GPL-2.0+ # -PLATFORM_RELFLAGS += -meabi -PLATFORM_CPPFLAGS += -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float +PLATFORM_CPPFLAGS += -DCONFIG_4xx -mstring -msoft-float cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/') is440:=$(shell grep CONFIG_440 $(TOPDIR)/include/$(cfg)) |