2 # Utility script to generate the sim files for several ports.
3 # This is useful for verifying changes to the generated files
4 # without having to build every tool chain.
6 # Run this script in the src/cgen directory.
14 # fr30 not included, sim has been marked as obsolete.
15 # sh64 not included, not sure which configuration to use.
16 # i960 not included, it's being deleted.
21 echo "Not in the src/cgen directory." >& 2
40 $cgendir/../sim/i960/configure --prefix /tmp/junk --target i960-coff
41 make stamp-arch stamp-cpu stamp-desc
51 $cgendir/../sim/m32r/configure --prefix /tmp/junk --target m32r-elf
52 make stamp-arch stamp-cpu stamp-xcpu
62 $cgendir/../sim/fr30/configure --prefix /tmp/junk --target fr30-elf
63 make stamp-arch stamp-cpu
73 $cgendir/../sim/sh64/configure --prefix /tmp/junk --target ???
80 echo "unsupported cpu $c" >& 2