am33 sanitization changes
This commit is contained in:
parent
34ec21ffb4
commit
5809e33d1a
1 changed files with 1 additions and 29 deletions
|
@ -52,34 +52,6 @@ Things-to-lose:
|
|||
|
||||
Do-last:
|
||||
|
||||
am33_files="mn10300.h"
|
||||
if ( echo $* | grep keep\-am33 > /dev/null ) ; then
|
||||
for i in $am33_files ; do
|
||||
if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping am33 stuff in $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
else
|
||||
for i in $am33_files ; do
|
||||
if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing traces of \"am33\" from $i...
|
||||
fi
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/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
|
||||
|
||||
v850_files="ChangeLog common.h v850.h"
|
||||
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
|
||||
for i in $v850_files ; do
|
||||
|
@ -248,7 +220,7 @@ else
|
|||
done
|
||||
fi
|
||||
|
||||
cygnus_files="mips.h"
|
||||
cygnus_files="mips.h mn10300.h"
|
||||
if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
|
||||
for i in $cygnus_files ; do
|
||||
if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
|
||||
|
|
Loading…
Reference in a new issue