summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2015-07-31 16:14:43 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-08-08 12:00:00 +0200
commit86980bb46afd6576a5f6bfbdf37555fb0ce5cd08 (patch)
tree2ccfb4d61ecb9184cf3ea8ecc6b85855553edc0e /util
parent8a83b8bb6ffb838e6278c4bce0f2d9798af38209 (diff)
downloadcoreboot-86980bb46afd6576a5f6bfbdf37555fb0ce5cd08.tar.xz
abuild: Make help text into a heredoc
This simplifies editing. Change-Id: Iff7f0cb7e52788836adcc0813a7bfb6d69009eed Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/11091 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/abuild/abuild67
1 files changed, 35 insertions, 32 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index ddf916a673..a14ebcadaa 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -383,38 +383,41 @@ function remove_target
function myhelp
{
- printf "Usage: $0 [-v] [-a] [-b] [-r] [-t <vendor/board>] [-p <dir>] [lbroot]\n"
- printf " $0 [-V|--version]\n"
- printf " $0 [-h|--help]\n\n"
-
- printf "Options:\n"
- printf " [-v|--verbose] print more messages\n"
- printf " [-q|--quiet] print fewer messages\n"
- printf " [-a|--all] build previously succeeded ports as well\n"
- printf " [-r|--remove] remove output dir after build\n"
- printf " [-t|--target <vendor/board>] attempt to build target vendor/board only\n"
- printf " [-p|--payloads <dir>] use payloads in <dir> to build images\n"
- printf " [-V|--version] print version number and exit\n"
- printf " [-h|--help] print this help and exit\n"
- printf " [-J|--junit] write JUnit formatted xml log file \n"
- printf " (defaults to $XMLFILE)\n"
- printf " [-T|--test] submit image(s) to automated test system\n"
- printf " [-c|--cpus <numcpus>] build on <numcpus> at the same time\n"
- printf " [-s|--silent] omit compiler calls in logs\n"
- printf " [-y|--ccache] use ccache\n"
- printf " [-C|--config] configure-only mode\n"
- printf " [-l|--loglevel <num>] set loglevel\n"
- printf " [-u|--update] update existing image\n"
- printf " [-P|--prefix <name>] file name prefix in CBFS\n"
- printf " [-B|--blobs] Allow using binary files\n"
- printf " [-z|--clean] Remove build results when finished\n"
- printf " [-o|--outdir <path>] store build results in path\n"
- printf " (defaults to $TARGET)\n"
- printf " [-L|--clang] Use clang\n"
- printf " [-x|--chromeos] Build with CHROMEOS enabled\n"
- printf " [--scan-build] use clang's static analyzer\n"
- printf " [cbroot] absolute path to coreboot sources\n"
- printf " (defaults to $ROOT)\n\n"
+cat << __END_OF_HELP
+Usage: $0 [-v] [-a] [-b] [-r] [-t <vendor/board>] [-p <dir>] [lbroot]
+ $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
+ [-t|--target <vendor/board>] attempt to build target vendor/board only
+ [-p|--payloads <dir>] use payloads in <dir> 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 <numcpus>] build on <numcpus> at the same time
+ [-s|--silent] omit compiler calls in logs
+ [-y|--ccache] use ccache
+ [-C|--config] configure-only mode
+ [-l|--loglevel <num>] set loglevel
+ [-u|--update] update existing image
+ [-P|--prefix <name>] file name prefix in CBFS
+ [-B|--blobs] Allow using binary files
+ [-z|--clean] Remove build results when finished
+ [-o|--outdir <path>] store build results in path
+ (defaults to $TARGET)
+ [-L|--clang] Use clang
+ [-x|--chromeos] Build with CHROMEOS enabled
+ [--scan-build] use clang's static analyzer
+ [cbroot] absolute path to coreboot sources
+ (defaults to $ROOT)
+
+__END_OF_HELP
}
function myversion