Documentation improvements

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2021-08-03 13:44:28 +02:00
parent 1d475b6398
commit bf66e2cc8f

View File

@ -271,7 +271,9 @@ Tool path options:
EOF EOF
} }
# remove built files as well as the cmake cache/config # Cleanup before/after running a component.
# Remove built files as well as the cmake cache/config.
# Does not remove generated source files.
cleanup() cleanup()
{ {
command make clean command make clean
@ -306,6 +308,8 @@ cleanup()
done done
} }
# Final cleanup when this script exits (except when exiting on a failure
# in non-keep-going mode).
final_cleanup () { final_cleanup () {
cleanup cleanup
@ -442,11 +446,14 @@ pre_parse_command_line () {
COMMAND_LINE_COMPONENTS="$COMMAND_LINE_COMPONENTS *_armcc*" COMMAND_LINE_COMPONENTS="$COMMAND_LINE_COMPONENTS *_armcc*"
fi fi
# Error out if an explicitly requested component doesn't exist.
if [ $all_except -eq 0 ]; then if [ $all_except -eq 0 ]; then
unsupported=0 unsupported=0
set -f set -f
for component in $COMMAND_LINE_COMPONENTS; do for component in $COMMAND_LINE_COMPONENTS; do
set +f set +f
# If the requested name includes a wildcard character, don't
# check it. Accept wildcard patterns that don't match anything.
case $component in case $component in
*[*?\[]*) continue;; *[*?\[]*) continue;;
esac esac