[U-Boot] [PATCH 3/5] sparc: merge arch/sparc/cpu/*/config.mk to arch/sparc/config.mk
Masahiro Yamada
yamada.m at jp.panasonic.com
Thu Oct 30 07:30:56 CET 2014
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 at jp.panasonic.com>
Cc: Daniel Hellstrom <daniel at gaisler.com>
---
arch/sparc/config.mk | 2 ++
arch/sparc/cpu/leon2/config.mk | 8 --------
arch/sparc/cpu/leon3/config.mk | 8 --------
3 files changed, 2 insertions(+), 16 deletions(-)
delete mode 100644 arch/sparc/cpu/leon2/config.mk
delete mode 100644 arch/sparc/cpu/leon3/config.mk
diff --git a/arch/sparc/config.mk b/arch/sparc/config.mk
index 196d28a..d615f29 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 15ba1be..0000000
--- a/arch/sparc/cpu/leon2/config.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# (C) Copyright 2003
-# Wolfgang Denk, DENX Software Engineering, wd at 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 15ba1be..0000000
--- a/arch/sparc/cpu/leon3/config.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# (C) Copyright 2003
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier: GPL-2.0+
-#
-
-PLATFORM_RELFLAGS += -fPIC
--
1.9.1
More information about the U-Boot
mailing list