Thu Aug 1 17:08:41 1996 Martin M. Hunt <hunt@pizza.cygnus.com>

* configure.in (d10v-*-*): Added D10V simulator.
This commit is contained in:
Martin Hunt 1996-08-02 00:22:58 +00:00
parent c1ebd1ce17
commit 745a0437db
2 changed files with 43 additions and 0 deletions

View File

@ -15,6 +15,13 @@
Do-first:
d10v_files="d10v"
if ( echo $* | grep keep\-d10v > /dev/null ) ; then
keep_these_too="${d10v_files} ${keep_these_too}"
else
lose_these_too="${d10v_files} ${lose_these_too}"
fi
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
@ -42,4 +49,37 @@ Things-to-lose:
Do-last:
d10v_files="d10v"
if ( echo $* | grep keep\-d10v > /dev/null ) ; then
for i in $d10v_files ; do
if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping d10v stuff in $i
fi
fi
done
else
for i in $d10v_files ; do
if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"d10v\" from $i...
fi
cp $i new
sed '/start\-sanitize\-d10v/,/end-\sanitize\-d10v/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
fi
mv $i .Recover
fi
mv new $i
fi
done
fi
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in $i! 1>&2
fi
done
# End of file.

View File

@ -45,6 +45,9 @@ esac],[if test x"$GCC" != x""; then powerpc_sim=yes; else powerpc_sim=no; fi])
case "${target}" in
arm*-*-*) sim_target=arm ;;
# start-sanitize-d10v
d10v-*-*) sim_target=d10v ;;
# end-sanitize-d10v
h8300*-*-*) sim_target=h8300 ;;
h8500-*-*) sim_target=h8500 ;;
mips*-*-*) sim_target=mips ;;