Removed the v850eq sanitization
This commit is contained in:
parent
d345d88340
commit
f13f11b494
3 changed files with 7 additions and 72 deletions
|
@ -15,33 +15,21 @@
|
||||||
|
|
||||||
Do-first:
|
Do-first:
|
||||||
|
|
||||||
igen_files="igen"
|
|
||||||
|
|
||||||
d30v_files="d30v testsuite"
|
d30v_files="d30v testsuite"
|
||||||
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
|
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
|
||||||
keep_these_too="${d30v_files} ${igen_files} ${keep_these_too}"
|
keep_these_too="${d30v_files} ${keep_these_too}"
|
||||||
igen_files=
|
|
||||||
else
|
else
|
||||||
lose_these_too="${d30v_files} ${lose_these_too}"
|
lose_these_too="${d30v_files} ${lose_these_too}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tic80_files="tic80"
|
tic80_files="tic80"
|
||||||
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
|
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
|
||||||
keep_these_too="${tic80_files} ${igen_files} ${keep_these_too}"
|
keep_these_too="${tic80_files} ${keep_these_too}"
|
||||||
igen_files=
|
|
||||||
else
|
else
|
||||||
lose_these_too="${tic80_files} ${lose_these_too}"
|
lose_these_too="${tic80_files} ${lose_these_too}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
v850_files="v850"
|
lose_these_too="${lose_these_too}"
|
||||||
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
|
||||||
keep_these_too="${v850_files} ${igen_files} ${keep_these_too}"
|
|
||||||
igen_files=
|
|
||||||
else
|
|
||||||
lose_these_too="${v850_files} ${lose_these_too}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
lose_these_too="${igen_files} ${lose_these_too}"
|
|
||||||
|
|
||||||
# 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.
|
||||||
|
@ -62,12 +50,14 @@ d10v
|
||||||
erc32
|
erc32
|
||||||
h8300
|
h8300
|
||||||
h8500
|
h8500
|
||||||
|
igen
|
||||||
m32r
|
m32r
|
||||||
mips
|
mips
|
||||||
mn10200
|
mn10200
|
||||||
mn10300
|
mn10300
|
||||||
ppc
|
ppc
|
||||||
sh
|
sh
|
||||||
|
v850
|
||||||
w65
|
w65
|
||||||
z8k
|
z8k
|
||||||
|
|
||||||
|
@ -133,32 +123,6 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
v850_files="configure configure.in ChangeLog"
|
v850_files="configure configure.in ChangeLog"
|
||||||
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
|
||||||
|
|
|
@ -101,15 +101,13 @@ case "${target}" in
|
||||||
extra_subdirs="${extra_subdirs} igen"
|
extra_subdirs="${extra_subdirs} igen"
|
||||||
only_if_gcc=yes
|
only_if_gcc=yes
|
||||||
;;
|
;;
|
||||||
# end-sanitize-v850e
|
|
||||||
# start-sanitize-v850eq
|
|
||||||
v850eq-*-*)
|
v850eq-*-*)
|
||||||
# The V850 simulator can only be compiled by gcc.
|
# The V850 simulator can only be compiled by gcc.
|
||||||
sim_target=v850
|
sim_target=v850
|
||||||
extra_subdirs="${extra_subdirs} igen"
|
extra_subdirs="${extra_subdirs} igen"
|
||||||
only_if_gcc=yes
|
only_if_gcc=yes
|
||||||
;;
|
;;
|
||||||
# end-sanitize-v850eq
|
# end-sanitize-v850e
|
||||||
w65-*-*)
|
w65-*-*)
|
||||||
sim_target=w65
|
sim_target=w65
|
||||||
# The w65 is suffering from gradual decay.
|
# The w65 is suffering from gradual decay.
|
||||||
|
|
|
@ -40,34 +40,7 @@ Things-to-lose:
|
||||||
|
|
||||||
Do-last:
|
Do-last:
|
||||||
|
|
||||||
# NOTE: keep-v850eq keeps all of keep-v850e as well.
|
v850e_files="interp.c simops.c v850.igen v850-dc"
|
||||||
v850e_files="interp.c simops.c v850_sim.h v850.igen v850-dc"
|
|
||||||
if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
|
|
||||||
for i in $v850e_files ; do
|
|
||||||
if test -r $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 -r $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 -r $i && (grep sanitize-v850e $i > /dev/null) ; then
|
if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue