Removed v850eq sanitization.
This commit is contained in:
parent
03c41a1cf3
commit
6c84a1a2ab
|
@ -22,12 +22,6 @@ Do-first:
|
||||||
# called. Directories not listed will be removed in their entirety
|
# called. Directories not listed will be removed in their entirety
|
||||||
# with rm -rf.
|
# with rm -rf.
|
||||||
|
|
||||||
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
|
||||||
keep_these_too="v850.h ${keep_these_too}"
|
|
||||||
else
|
|
||||||
lose_these_too="v850.h ${lose_these_too}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
Things-to-keep:
|
Things-to-keep:
|
||||||
|
|
||||||
ChangeLog
|
ChangeLog
|
||||||
|
@ -43,6 +37,7 @@ m32r.h
|
||||||
mips.h
|
mips.h
|
||||||
ppc.h
|
ppc.h
|
||||||
sparc.h
|
sparc.h
|
||||||
|
v850.h
|
||||||
|
|
||||||
Things-to-lose:
|
Things-to-lose:
|
||||||
|
|
||||||
|
@ -77,32 +72,6 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
v850_files="ChangeLog common.h v850.h"
|
v850_files="ChangeLog common.h v850.h"
|
||||||
if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
|
|
||||||
for i in $v850_files ; do
|
|
||||||
if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Keeping v850eq stuff in $i
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for i in $v850_files ; do
|
|
||||||
if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Removing traces of \"v850eq\" from $i...
|
|
||||||
fi
|
|
||||||
cp $i new
|
|
||||||
sed '/start\-sanitize\-v850eq/,/end\-sanitize\-v850eq/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 keep\-v850e > /dev/null ) ; then
|
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
|
||||||
for i in $v850_files ; do
|
for i in $v850_files ; do
|
||||||
if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
|
if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
|
||||||
|
|
|
@ -31,12 +31,6 @@ else
|
||||||
lose_these_too="${tic80_files} ${lose_these_too}"
|
lose_these_too="${tic80_files} ${lose_these_too}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
|
||||||
keep_these_too="v850.h ${keep_these_too}"
|
|
||||||
else
|
|
||||||
lose_these_too="v850.h ${lose_these_too}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# All files listed between the "Things-to-keep:" line and the
|
# All files listed between the "Things-to-keep:" line and the
|
||||||
# "Files-to-sed:" line will be kept. All other files will be removed.
|
# "Files-to-sed:" line will be kept. All other files will be removed.
|
||||||
# Directories listed in this section will have their own Sanitize
|
# Directories listed in this section will have their own Sanitize
|
||||||
|
@ -70,6 +64,7 @@ ppc.h
|
||||||
pyr.h
|
pyr.h
|
||||||
sparc.h
|
sparc.h
|
||||||
tahoe.h
|
tahoe.h
|
||||||
|
v850.h
|
||||||
vax.h
|
vax.h
|
||||||
|
|
||||||
Things-to-lose:
|
Things-to-lose:
|
||||||
|
@ -106,33 +101,6 @@ fi
|
||||||
|
|
||||||
v850e_files="ChangeLog v850.h"
|
v850e_files="ChangeLog v850.h"
|
||||||
|
|
||||||
if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
|
|
||||||
for i in $v850e_files ; do
|
|
||||||
if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Keeping v850eq stuff in $i
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for i in $v850e_files ; do
|
|
||||||
if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Removing traces of \"v850eq\" from $i...
|
|
||||||
fi
|
|
||||||
cp $i new
|
|
||||||
sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/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 keep\-v850e > /dev/null ) ; then
|
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
|
||||||
for i in $v850e_files ; do
|
for i in $v850e_files ; do
|
||||||
if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then
|
if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then
|
||||||
|
|
Loading…
Reference in New Issue