diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-10-30 15:30:56 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-04 15:01:32 -0500 |
commit | c2a1d5d30687e04692b1bbe386591b5efd7ad57f (patch) | |
tree | cf57179be5277ebe18273e821cc775b13a2fc87d | |
parent | 8be29642404375d0a97ebb46e8f0161a85ead122 (diff) |
sparc: merge arch/sparc/cpu/*/config.mk to arch/sparc/config.mk
Remove arch/sparc/cpu/{leon2,leon3}/config.mk and move duplicated
defines of -fPIC to arch/sparc/config.mk.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Daniel Hellstrom <daniel@gaisler.com>
-rw-r--r-- | arch/sparc/config.mk | 2 | ||||
-rw-r--r-- | arch/sparc/cpu/leon2/config.mk | 8 | ||||
-rw-r--r-- | arch/sparc/cpu/leon3/config.mk | 8 |
3 files changed, 2 insertions, 16 deletions
diff --git a/arch/sparc/config.mk b/arch/sparc/config.mk index 196d28af84e..d615f294fed 100644 --- a/arch/sparc/config.mk +++ b/arch/sparc/config.mk @@ -15,3 +15,5 @@ CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) \ -T $(srctree)/examples/standalone/sparc.lds PLATFORM_CPPFLAGS += -D__sparc__ + +PLATFORM_RELFLAGS += -fPIC diff --git a/arch/sparc/cpu/leon2/config.mk b/arch/sparc/cpu/leon2/config.mk deleted file mode 100644 index 15ba1be0486..00000000000 --- a/arch/sparc/cpu/leon2/config.mk +++ /dev/null @@ -1,8 +0,0 @@ -# -# (C) Copyright 2003 -# Wolfgang Denk, DENX Software Engineering, wd@denx.de. -# -# SPDX-License-Identifier: GPL-2.0+ -# - -PLATFORM_RELFLAGS += -fPIC diff --git a/arch/sparc/cpu/leon3/config.mk b/arch/sparc/cpu/leon3/config.mk deleted file mode 100644 index 15ba1be0486..00000000000 --- a/arch/sparc/cpu/leon3/config.mk +++ /dev/null @@ -1,8 +0,0 @@ -# -# (C) Copyright 2003 -# Wolfgang Denk, DENX Software Engineering, wd@denx.de. -# -# SPDX-License-Identifier: GPL-2.0+ -# - -PLATFORM_RELFLAGS += -fPIC |