change armelf sanitization to CYGNUS LOCAL markers
This commit is contained in:
parent
ea0a321df9
commit
dd5ed74927
2 changed files with 4 additions and 32 deletions
28
.Sanitize
28
.Sanitize
|
@ -631,34 +631,6 @@ else
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
armelf_files="ChangeLog configure.in"
|
|
||||||
if ( echo $* | grep keep\-armelf > /dev/null ) ; then
|
|
||||||
for i in $armelf_files ; do
|
|
||||||
if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Keeping armelf stuff in $i
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for i in * ; do
|
|
||||||
if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Removing traces of \"armelf\" from $i...
|
|
||||||
fi
|
|
||||||
cp $i new
|
|
||||||
sed '/start\-sanitize\-armelf/,/end-\sanitize\-armelf/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
|
|
||||||
|
|
||||||
java_files="ChangeLog Makefile.in configure.in"
|
java_files="ChangeLog Makefile.in configure.in"
|
||||||
if ( echo $* | grep keep\-java > /dev/null ) ; then
|
if ( echo $* | grep keep\-java > /dev/null ) ; then
|
||||||
for i in $java_files ; do
|
for i in $java_files ; do
|
||||||
|
|
|
@ -626,19 +626,19 @@ case "${target}" in
|
||||||
arm-*-coff*)
|
arm-*-coff*)
|
||||||
noconfigdirs="$noconfigdirs target-libgloss"
|
noconfigdirs="$noconfigdirs target-libgloss"
|
||||||
;;
|
;;
|
||||||
# start-sanitize-armelf
|
# CYGNUS LOCAL clm/arm-elf
|
||||||
arm-*-elf*)
|
arm-*-elf*)
|
||||||
noconfigdirs="$noconfigdirs target-libgloss"
|
noconfigdirs="$noconfigdirs target-libgloss"
|
||||||
;;
|
;;
|
||||||
# end-sanitize-armelf
|
# END CYGNUS LOCAL
|
||||||
thumb-*-coff)
|
thumb-*-coff)
|
||||||
noconfigdirs="$noconfigdirs target-libgloss"
|
noconfigdirs="$noconfigdirs target-libgloss"
|
||||||
;;
|
;;
|
||||||
# start-sanitize-armelf
|
# CYGNUS LOCAL clm/arm-elf
|
||||||
thumb-*-elf)
|
thumb-*-elf)
|
||||||
noconfigdirs="$noconfigdirs target-libgloss"
|
noconfigdirs="$noconfigdirs target-libgloss"
|
||||||
;;
|
;;
|
||||||
# end-sanitize-armelf
|
# END CYGNUS LOCAL
|
||||||
thumb-*-pe) # CYGNUS LOCAL nickc/thumb
|
thumb-*-pe) # CYGNUS LOCAL nickc/thumb
|
||||||
noconfigdirs="$noconfigdirs target-libgloss"
|
noconfigdirs="$noconfigdirs target-libgloss"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue