From b06bfa4d39b64968b152e6e5bcd165d22ceb21de Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Mon, 5 Dec 2016 09:15:33 -0700 Subject: [PATCH] util/abuild: Clean up usage - Indent with spaces for consistency - Change lbroot to cbroot - Remove incomplete list of options from usage line - Capitalize first word of all option text - Alphabetize options other than version and help - Move version and help options to the end Change-Id: Id5bd4db8d7e3705cbbb93895a46a3608cd1b09e2 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/17724 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/abuild/abuild | 58 ++++++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/util/abuild/abuild b/util/abuild/abuild index f94e49a9a4..59a866f0bc 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -505,42 +505,44 @@ function remove_target function myhelp { cat << __END_OF_HELP -Usage: $0 [-v] [-a] [-b] [-r] [-t ] [-p ] [lbroot] +Usage: $0 [options] [cbroot] $0 [-V|--version] $0 [-h|--help] Options:\n" - [-v|--verbose] print more messages - [-q|--quiet] print fewer messages - [-a|--all] build previously succeeded ports as well - [-r|--remove] remove output dir after build - [-d|--dir ] directory containing config files - [-t|--target ] attempt to build target vendor/board only - [-p|--payloads ] use payloads in to build images - [-V|--version] print version number and exit - [-h|--help] print this help and exit - [-J|--junit] write JUnit formatted xml log file - (defaults to $XMLFILE) - [-T|--test] submit image(s) to automated test system - [-c|--cpus ] build on at the same time - [-s|--silent] omit compiler calls in logs - [-y|--ccache] use ccache - [-C|--config] configure-only mode - [-l|--loglevel ] set loglevel - [-u|--update] update existing image - [-P|--prefix ] file name prefix in CBFS + [-a|--all] Build previously succeeded ports as well [-B|--blobs] Allow using binary files - [-z|--clean] Remove build results when finished - [-o|--outdir ] store build results in path - (defaults to $TARGET) + [-c|--cpus ] Build on at the same time + [-C|--config] Configure-only mode + [-d|--dir ] Directory containing config files + [-J|--junit] Write JUnit formatted xml log file + [-K|--kconfig ] Prepend file to generated Kconfig + [-l|--loglevel ] Set loglevel [-L|--clang] Use clang - [-K|--kconfig ] Prepend file to generated Kconfig + [-o|--outdir ] Store build results in path + (defaults to $TARGET) + [-p|--payloads ] Use payloads in to build images + [-P|--prefix ] File name prefix in CBFS + [-q|--quiet] Print fewer messages + [-r|--remove] Remove output dir after build + [--scan-build] Use clang's static analyzer + [-s|--silent] Omit compiler calls in logs + [-t|--target ] Attempt to build target vendor/board only + [-T|--test] Submit image(s) to automated test system + [-u|--update] Update existing image + [-v|--verbose] Print more messages [-x|--chromeos] Build with CHROMEOS enabled Skip boards without Chrome OS support - [-X|--xmlfile ] set JUnit XML log file filename - [--scan-build] use clang's static analyzer - [cbroot] absolute path to coreboot sources - (defaults to $ROOT) + [-X|--xmlfile ] Set JUnit XML log file filename + (defaults to $XMLFILE) + [-y|--ccache] Use ccache + [-z|--clean] Remove build results when finished + + [cbroot] Absolute path to coreboot sources + (defaults to $ROOT) + + [-V|--version] Print version number and exit + [-h|--help] Print this help and exit __END_OF_HELP }