mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
Sanitize more files when running with keep-cygnus.
This commit is contained in:
11
.Sanitize
11
.Sanitize
@ -117,6 +117,15 @@ else
|
|||||||
lose_these_too="${lose_these_too} ${ide_files}"
|
lose_these_too="${lose_these_too} ${ide_files}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
flexlm_files="flexlm"
|
||||||
|
|
||||||
|
if (echo $* | grep keep\-cygnus > /dev/null); then
|
||||||
|
keep_these_too="${keep_these_too} ${flexlm_files}"
|
||||||
|
test -n "$verbose" && echo Keeping ${flexlm_files}
|
||||||
|
else
|
||||||
|
lose_these_too="${lose_these_too} ${flexlm_files}"
|
||||||
|
fi
|
||||||
|
|
||||||
# CGEN files:
|
# CGEN files:
|
||||||
# It is not yet clear if the cgen package will be shipped with the
|
# It is not yet clear if the cgen package will be shipped with the
|
||||||
# simulators.
|
# simulators.
|
||||||
@ -646,7 +655,7 @@ else
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
kcygnus_files="configure"
|
kcygnus_files="ChangeLog configure configure.in Makefile.in"
|
||||||
if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
|
if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
|
||||||
for i in $kcygnus_files ; do
|
for i in $kcygnus_files ; do
|
||||||
if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
|
if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
|
||||||
|
Reference in New Issue
Block a user