sparc: merge arch/sparc/cpu/*/config.mk to arch/sparc/config.mk
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 30 Oct 2014 06:30:56 +0000 (15:30 +0900)
committerTom Rini <trini@ti.com>
Tue, 4 Nov 2014 20:01:32 +0000 (15:01 -0500)
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>
arch/sparc/config.mk
arch/sparc/cpu/leon2/config.mk [deleted file]
arch/sparc/cpu/leon3/config.mk [deleted file]

index 196d28af84eddc41dbb08431595bb748079597c3..d615f294fed48cb60d9141ee338bff1d944214aa 100644 (file)
@@ -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 (file)
index 15ba1be..0000000
+++ /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 (file)
index 15ba1be..0000000
+++ /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