Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11091
-gerrit
commit 952130dddb7c76bce7e251929c1eea1533d94506 Author: Patrick Georgi pgeorgi@google.com Date: Fri Jul 31 16:14:43 2015 +0200
abuild: Make help text into a heredoc
This simplifies editing.
Change-Id: Iff7f0cb7e52788836adcc0813a7bfb6d69009eed Signed-off-by: Patrick Georgi pgeorgi@google.com --- util/abuild/abuild | 67 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 35 insertions(+), 32 deletions(-)
diff --git a/util/abuild/abuild b/util/abuild/abuild index ddf916a..a14ebca 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