mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 11:56:11 +08:00
Clean up handling of COPYING.NEWLIB.
This commit is contained in:
11
.Sanitize
11
.Sanitize
@ -81,12 +81,15 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# This is for newlib net releases.
|
# This is for newlib net releases.
|
||||||
newlib_files="COPYING.NEWLIB"
|
newlib_file="COPYING.NEWLIB"
|
||||||
|
|
||||||
if ( echo $* | grep keep\-newlib > /dev/null) ; then
|
if (echo $* | grep keep\-newlib > /dev/null) ; then
|
||||||
keep_these_too="${keep_these_too} ${newlib_files}"
|
if (echo $* | grep -v keep\-cygnus > /dev/null) ; then
|
||||||
|
keep_these_too="${keep_these_too} ${newlib_file}"
|
||||||
|
lose_these_too="`echo ${lose_these_too} | sed -e s/${newlib_file}//`"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
lose_these_too="${lose_these_too} ${newlib_files}"
|
true; # Let keep-cygnus handle it.
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# This top-level directory is special. We often check out only subsets
|
# This top-level directory is special. We often check out only subsets
|
||||||
|
Reference in New Issue
Block a user