CONFIG_LEON2, CONFIG_LEON3 are defined in Kconfig.

Remove the redundant definition in arch/sparc/cpu/*/config.mk.

Signed-off-by: Masahiro Yamada <yamad...@jp.panasonic.com>
---

 arch/sparc/cpu/leon2/config.mk | 2 +-
 arch/sparc/cpu/leon3/config.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sparc/cpu/leon2/config.mk b/arch/sparc/cpu/leon2/config.mk
index c44b093..f9b0d34 100644
--- a/arch/sparc/cpu/leon2/config.mk
+++ b/arch/sparc/cpu/leon2/config.mk
@@ -7,4 +7,4 @@
 
 PLATFORM_RELFLAGS += -fPIC
 
-PLATFORM_CPPFLAGS += -DCONFIG_LEON -DCONFIG_LEON2
+PLATFORM_CPPFLAGS += -DCONFIG_LEON
diff --git a/arch/sparc/cpu/leon3/config.mk b/arch/sparc/cpu/leon3/config.mk
index ca6c9b1..f9b0d34 100644
--- a/arch/sparc/cpu/leon3/config.mk
+++ b/arch/sparc/cpu/leon3/config.mk
@@ -7,4 +7,4 @@
 
 PLATFORM_RELFLAGS += -fPIC
 
-PLATFORM_CPPFLAGS += -DCONFIG_LEON -DCONFIG_LEON3
+PLATFORM_CPPFLAGS += -DCONFIG_LEON
-- 
1.8.3.2

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to