* arc.h: New file.
* common.h (EM_CYGNUS_ARC): Define. Plus remove arc sanitization.
This commit is contained in:
parent
737ff150cf
commit
414f5cf3b2
|
@ -17,14 +17,6 @@
|
|||
|
||||
Do-first:
|
||||
|
||||
arc_files="arc.h"
|
||||
|
||||
if ( echo $* | grep keep\-arc > /dev/null ) ; then
|
||||
keep_these_too="${arc_files} ${keep_these_too}"
|
||||
else
|
||||
lose_these_too="${arc_files} ${lose_these_too}"
|
||||
fi
|
||||
|
||||
v850_files="v850.h"
|
||||
|
||||
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
||||
|
@ -58,34 +50,6 @@ Things-to-lose:
|
|||
|
||||
Do-last:
|
||||
|
||||
arc_files="ChangeLog common.h"
|
||||
if ( echo $* | grep keep\-arc > /dev/null ) ; then
|
||||
for i in $arc_files ; do
|
||||
if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping arc stuff in $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
else
|
||||
for i in $arc_files ; do
|
||||
if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing traces of \"arc\" from $i...
|
||||
fi
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/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
|
||||
|
||||
d30v_files="ChangeLog common.h"
|
||||
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
|
||||
for i in $d30v_files ; do
|
||||
|
|
Loading…
Reference in New Issue