sh: rsk7203: Move to boards.cfg
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 19 Oct 2010 16:22:25 +0000 (01:22 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thu, 21 Oct 2010 01:42:24 +0000 (10:42 +0900)
Move the rsk7203 target out of the Makefile and into boards.cfg.
And fix sh2 of MAKEALL.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
MAKEALL
Makefile
boards.cfg

diff --git a/MAKEALL b/MAKEALL
index 51312dd..a97061c 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -609,9 +609,8 @@ LIST_blackfin="$(boards_by_arch blackfin)
 ## SH Systems
 #########################################################################
 
-LIST_sh2="             \
-       rsk7203         \
-"
+LIST_sh2="$(boards_by_cpu sh2)"
+
 LIST_sh3="             \
        mpr2            \
        ms7720se        \
index 06c71a2..205e710 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1189,14 +1189,6 @@ bf527-ezkit-v2_config    : unconfig
 #========================================================================
 
 #########################################################################
-## sh2 (Renesas SuperH)
-#########################################################################
-rsk7203_config: unconfig
-       @mkdir -p $(obj)include
-       @echo "#define CONFIG_RSK7203 1" > $(obj)include/config.h
-       @$(MKCONFIG) -a $@ sh sh2 rsk7203 renesas
-
-#########################################################################
 ## sh3 (Renesas SuperH)
 #########################################################################
 
index 0f3292f..2599c2a 100644 (file)
@@ -732,5 +732,6 @@ davinci_dm6467evm arm       arm926ejs       dm6467evm       davinci         davinci
 davinci_schmoogie arm  arm926ejs       schmoogie       davinci         davinci
 davinci_dm355leopard arm arm926ejs     dm355leopard    davinci         davinci
 bf527-ad7160-eval blackfin     blackfin
+rsk7203        sh      sh2             rsk7203         renesas         -
 # Target       ARCH    CPU             Board name      Vendor          SoC             Options
 ###############################################################################################