]> sourceware.org Git - cgen.git/commitdiff
* gen-all-sim: Add fr30,sh64 support. Only generate m32r by default.
authorDoug Evans <xdje42@gmail.com>
Fri, 20 Jun 2003 21:09:00 +0000 (21:09 +0000)
committerDoug Evans <xdje42@gmail.com>
Fri, 20 Jun 2003 21:09:00 +0000 (21:09 +0000)
ChangeLog
gen-all-sim

index bcd0dcc02fe5ea720a90a297dbee450c90222a4e..0dc2dd7bbbaaeb04a8c37bbef2da7262ba539b32 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-20  Doug Evans  <dje@sebabeach.org>
+
+       * gen-all-sim: Add fr30,sh64 support.  Only generate m32r by default.
+
 2003-06-19  Doug Evans  <dje@sebabeach.org>
 
        * mach.scm (-ifld-already-defined?): New proc.
index 7ed984bd762bd8b01255502685f693d3d177fb2c..9b493df87960a6fdbddeeae6217bc59ea73d9d8a 100755 (executable)
@@ -11,7 +11,10 @@ set -e
 # For debugging.
 set -x
 
-cpus="i960 m32r"
+# fr30 not included, sim has been marked as obsolete.
+# sh64 not included, not sure which configuration to use.
+# i960 not included, it's being deleted.
+cpus="m32r"
 
 if [ ! -f sim.scm ]
 then
@@ -23,15 +26,15 @@ export cgendir=`pwd`
 
 for c in $cpus
 do
-  rm -rf /tmp/tmp-cgen
-  mkdir /tmp/tmp-cgen
+  rm -rf ./tmp-sim
+  mkdir ./tmp-sim
 
   case $c in
   i960)
     (
        set -e
        set -x
-       cd /tmp/tmp-cgen
+       cd ./tmp-sim
        $cgendir/../sim/i960/configure --prefix /tmp/junk --target i960-coff
        make stamp-arch stamp-cpu stamp-desc
     )
@@ -42,13 +45,35 @@ do
     (
        set -e
        set -x
-       cd /tmp/tmp-cgen
+       cd ./tmp-sim
        $cgendir/../sim/m32r/configure --prefix /tmp/junk --target m32r-elf
        make stamp-arch stamp-cpu stamp-xcpu
     )
     test $? == 0 || exit 1
     ;;
 
+  fr30)
+    (
+       set -e
+       set -x
+       cd ./tmp-sim
+       $cgendir/../sim/fr30/configure --prefix /tmp/junk --target fr30-elf
+       make stamp-arch stamp-cpu
+    )
+    test $? == 0 || exit 1
+    ;;
+
+  sh64)
+    (
+       set -e
+       set -x
+       cd ./tmp-sim
+       $cgendir/../sim/sh64/configure --prefix /tmp/junk --target ???
+       make stamp-all
+    )
+    test $? == 0 || exit 1
+    ;;
+
   *)
     echo "unsupported cpu $c" >& 2
     exit 1
@@ -56,4 +81,4 @@ do
   esac
 done
 
-rm -rf /tmp/tmp-cgen
+rm -rf ./tmp-sim
This page took 0.035987 seconds and 5 git commands to generate.