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

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

diff --git a/MAKEALL b/MAKEALL
index a97061c8690b2dacbed0824ef999a8407e64a4c1..71dcba299472a1441ee5326ed3b8cd88e2407341 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -610,11 +610,7 @@ LIST_blackfin="$(boards_by_arch blackfin)
 #########################################################################
 
 LIST_sh2="$(boards_by_cpu sh2)"
-
-LIST_sh3="             \
-       mpr2            \
-       ms7720se        \
-"
+LIST_sh3="$(boards_by_cpu sh3)"
 
 LIST_sh4="             \
        ms7750se        \
index 205e710866770aa1745990909d6df741cdf7a520..3083c22de6c6c9cb4671013c24434deb7b947a59 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1188,20 +1188,6 @@ bf527-ezkit-v2_config    : unconfig
 # SH3 (SuperH)
 #========================================================================
 
-#########################################################################
-## sh3 (Renesas SuperH)
-#########################################################################
-
-mpr2_config: unconfig
-       @mkdir -p $(obj)include
-       @echo "#define CONFIG_MPR2 1" > $(obj)include/config.h
-       @$(MKCONFIG) -a $@ sh sh3 mpr2
-
-ms7720se_config: unconfig
-       @mkdir -p $(obj)include
-       @echo "#define CONFIG_MS7720SE 1" > $(obj)include/config.h
-       @$(MKCONFIG) -a $@ sh sh3 ms7720se
-
 #########################################################################
 ## sh4 (Renesas SuperH)
 #########################################################################
index 2599c2ac8c9621bc0c3b989bc2f1bfd91ffc3c30..1dc557ef29900de36fe434c611af31fbb81991b7 100644 (file)
@@ -733,5 +733,7 @@ davinci_schmoogie arm       arm926ejs       schmoogie       davinci         davinci
 davinci_dm355leopard arm arm926ejs     dm355leopard    davinci         davinci
 bf527-ad7160-eval blackfin     blackfin
 rsk7203        sh      sh2             rsk7203         renesas         -
+mpr2   sh      sh3             mpr2    -       -
+ms7720se       sh      sh3     ms7720se        -       -
 # Target       ARCH    CPU             Board name      Vendor          SoC             Options
 ###############################################################################################