diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 1995-09-06 21:02:59 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 1995-09-06 21:02:59 +0000 |
commit | bc55a53f1754dd2567fdc864f434dcc413cf6142 (patch) | |
tree | 9ac7d5336f954d1b551c25e50d5af1d8224da37c | |
parent | d66c832b5944039a02689b93e9918fff38939634 (diff) | |
download | fsf-binutils-gdb-bc55a53f1754dd2567fdc864f434dcc413cf6142.zip fsf-binutils-gdb-bc55a53f1754dd2567fdc864f434dcc413cf6142.tar.gz fsf-binutils-gdb-bc55a53f1754dd2567fdc864f434dcc413cf6142.tar.bz2 |
* cfg-ml-com.in (sh-*-*): Add sh3e support.
Plus sanitize foo.
-rw-r--r-- | .Sanitize | 29 | ||||
-rw-r--r-- | cfg-ml-com.in | 3 |
2 files changed, 32 insertions, 0 deletions
@@ -289,6 +289,35 @@ else done fi +sh3e_files="ChangeLog cfg-ml-com.in" +if ( echo $* | grep keep\-sh3e > /dev/null ) ; then + for i in $sh3e_files ; do + if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sh3e stuff in $i + fi + fi + done +else + for i in $sh3e_files ; do + if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"sh3e\" from $i... + fi + cp $i new + sed '/start\-sanitize\-sh3e/,/end-\sanitize\-sh3e/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 + + if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then echo Catering to RMS by removing traces of \"gdbtk\"... if [ -n "${verbose}" ] ; then diff --git a/cfg-ml-com.in b/cfg-ml-com.in index c24d342..6cbfdc1 100644 --- a/cfg-ml-com.in +++ b/cfg-ml-com.in @@ -90,6 +90,9 @@ h8500-*-*) ;; sh-*-*) multidirs="ml" +# start-sanitize-sh3e + multidirs="ml m3e" +# end-sanitize-sh3e ;; mips*-*-*) # Note that not all of these will be built for a particular |