mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
* cfg-ml-com.in (sh-*-*): Add sh3e support.
Plus sanitize foo.
This commit is contained in:
parent
d66c832b59
commit
bc55a53f17
29
.Sanitize
29
.Sanitize
@ -289,6 +289,35 @@ else
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sh3e_files="ChangeLog cfg-ml-com.in"
|
||||||
|
if ( echo $* | grep keep\-sh3e > /dev/null ) ; then
|
||||||
|
for i in $sh3e_files ; do
|
||||||
|
if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then
|
||||||
|
if [ -n "${verbose}" ] ; then
|
||||||
|
echo Keeping sh3e stuff in $i
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
else
|
||||||
|
for i in $sh3e_files ; do
|
||||||
|
if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then
|
||||||
|
if [ -n "${verbose}" ] ; then
|
||||||
|
echo Removing traces of \"sh3e\" from $i...
|
||||||
|
fi
|
||||||
|
cp $i new
|
||||||
|
sed '/start\-sanitize\-sh3e/,/end-\sanitize\-sh3e/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 lose\-gdbtk > /dev/null ) ; then
|
if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
|
||||||
echo Catering to RMS by removing traces of \"gdbtk\"...
|
echo Catering to RMS by removing traces of \"gdbtk\"...
|
||||||
if [ -n "${verbose}" ] ; then
|
if [ -n "${verbose}" ] ; then
|
||||||
|
@ -90,6 +90,9 @@ h8500-*-*)
|
|||||||
;;
|
;;
|
||||||
sh-*-*)
|
sh-*-*)
|
||||||
multidirs="ml"
|
multidirs="ml"
|
||||||
|
# start-sanitize-sh3e
|
||||||
|
multidirs="ml m3e"
|
||||||
|
# end-sanitize-sh3e
|
||||||
;;
|
;;
|
||||||
mips*-*-*)
|
mips*-*-*)
|
||||||
# Note that not all of these will be built for a particular
|
# Note that not all of these will be built for a particular
|
||||||
|
Loading…
Reference in New Issue
Block a user