summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMartin Roth <martinr@coreboot.org>2019-07-27 20:19:07 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-07-28 09:58:20 +0000
commit57e257d98714acd26a771f6c569c00b0017c794d (patch)
tree5c4bc50dfd7e653477a23ad01c00b0ae56b7c5f5 /util
parent6a27e76696efc5bdba6115b35dc085a6f56061f0 (diff)
downloadcoreboot-57e257d98714acd26a771f6c569c00b0017c794d.tar.gz
coreboot-57e257d98714acd26a771f6c569c00b0017c794d.tar.bz2
coreboot-57e257d98714acd26a771f6c569c00b0017c794d.zip
util/abuild: Add asserts flag to getopts
We recently added the --asserts option to set asserts as fatal in abuild but didn't add the flag to getopts, so it gets rejected as an invalid argument. Change-Id: Ic70e9a2bec039955cf62c175875598773ade2d3d Signed-off-by: Martin Roth <martinr@coreboot.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34597 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
-rwxr-xr-xutil/abuild/abuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index d9c698e65e81..b816d3f62658 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -625,7 +625,7 @@ getoptbrand="$(getopt -V)"
# shellcheck disable=SC2086
if [ "${getoptbrand:0:6}" == "getopt" ]; then
# Detected GNU getopt that supports long options.
- args=$(getopt -l version,verbose,quiet,help,all,target:,board-variant:,payloads:,cpus:,silent,junit,config,loglevel:,remove,prefix:,update,scan-build,ccache,blobs,clang,any-toolchain,clean,outdir:,chromeos,xmlfile:,kconfig:,dir:,root:,recursive,checksum:,timeless,exitcode -o Vvqhat:b:p:c:sJCl:rP:uyBLAzo:xX:K:d:R:Ie -- "$@") || exit 1
+ args=$(getopt -l version,verbose,quiet,help,all,target:,board-variant:,payloads:,cpus:,silent,junit,config,loglevel:,remove,prefix:,update,scan-build,ccache,blobs,clang,any-toolchain,clean,outdir:,chromeos,xmlfile:,kconfig:,dir:,root:,recursive,checksum:,timeless,exitcode,asserts -o Vvqhat:b:p:c:sJCl:rP:uyBLAzo:xX:K:d:R:Ie -- "$@") || exit 1
eval set -- $args
retval=$?
else