diff options
author | Gavin Romig-Koch <gavin@redhat.com> | 1997-10-29 22:53:58 +0000 |
---|---|---|
committer | Gavin Romig-Koch <gavin@redhat.com> | 1997-10-29 22:53:58 +0000 |
commit | d020618aebb358a4fe00b92dbd425e911479def3 (patch) | |
tree | 5df709f1bece256ff78620c40ce8ebbda6d079dc /ld/.Sanitize | |
parent | c7227bdcf7f2a37967ff7c934d2277603c969303 (diff) | |
download | gdb-d020618aebb358a4fe00b92dbd425e911479def3.zip gdb-d020618aebb358a4fe00b92dbd425e911479def3.tar.gz gdb-d020618aebb358a4fe00b92dbd425e911479def3.tar.bz2 |
* configure.tgt: Add tx49 configury based on 4300.
Diffstat (limited to 'ld/.Sanitize')
-rw-r--r-- | ld/.Sanitize | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize index 9099f2a..217c7ae 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -118,6 +118,35 @@ else done fi +tx49_files="ChangeLog configure.tgt" + +if ( echo $* | grep keep\-tx49 > /dev/null ) ; then + for i in $tx49_files ; do + if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping tx49 stuff in $i + fi + fi + done +else + for i in $tx49_files ; do + if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"tx49\" from $i... + fi + cp $i new + sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/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 + r5900_files="ChangeLog configure.tgt" if ( echo $* | grep keep\-r5900 > /dev/null ) ; then |