Martin Roth has uploaded a new change for review. ( https://review.coreboot.org/19034 )
Change subject: abuild: add timeless build command line parameter ......................................................................
abuild: add timeless build command line parameter
Change-Id: I96b4c027ccf3e5563dbf4598a0d1fb5e83a5985a Signed-off-by: Martin Roth gaumless@gmail.com --- M util/abuild/abuild 1 file changed, 8 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/19034/1
diff --git a/util/abuild/abuild b/util/abuild/abuild index 2783b6a..d094670 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -17,7 +17,7 @@ #set -x # Turn echo on....
ABUILD_DATE="Mar 28, 2017" -ABUILD_VERSION="0.10.02" +ABUILD_VERSION="0.10.03"
TOP=$PWD
@@ -55,6 +55,9 @@
# change with -d <directory> configdir="$TOP/configs" + +# Timeless builds +TIMELESS=0
# One might want to adjust these in case of cross compiling for i in make gmake gnumake nonexistant_make; do @@ -339,7 +342,7 @@ CURR=$( pwd ) #stime=`perl -e 'print time();' 2>/dev/null || date +%s` # shellcheck disable=SC2086 - eval $BUILDPREFIX $MAKE $silent DOTCONFIG="${build_dir}/config.build" obj="${build_dir}" objutil="$TARGET/sharedutils" \ + eval $BUILDPREFIX $MAKE $silent DOTCONFIG="${build_dir}/config.build" obj="${build_dir}" objutil="$TARGET/sharedutils" BUILD_TIMELESS=$TIMELESS \ &> "${build_dir}/make.log" ; \ MAKE_FAILED=$? cp .xcompile "${build_dir}/xcompile.build" @@ -536,6 +539,7 @@ (defaults to $ROOT) [--scan-build] Use clang's static analyzer [-s|--silent] Omit compiler calls in logs + [--timeless] Generate timeless builds [-t|--target <vendor/board>] Attempt to build target vendor/board only [-T|--test] Submit image(s) to automated test system [-u|--update] Update existing image @@ -591,7 +595,7 @@ # 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:,payloads:,cpus:,silent,junit,config,loglevel:,remove,prefix:,update,scan-build,ccache,blobs,clang,clean,outdir:,chromeos,xmlfile:,kconfig:,dir:,root:,recursive -o Vvqhat:p:c:sJCl:rP:uyBLzo:xX:K:d:R:I -- "$@") || exit 1 + args=$(getopt -l version,verbose,quiet,help,all,target:,payloads:,cpus:,silent,junit,config,loglevel:,remove,prefix:,update,scan-build,ccache,blobs,clang,clean,outdir:,chromeos,xmlfile:,kconfig:,dir:,root:,recursive,timeless -o Vvqhat:p:c:sJCl:rP:uyBLzo:xX:K:d:R:I -- "$@") || exit 1 eval set -- $args retval=$? else @@ -683,6 +687,7 @@ customizing="${customizing}, $1 config" configoptions="$(cat "$1")${configoptions}\n" shift;; + --timeless) shift; TIMELESS=1;; --) shift; break;; -*) printf "Invalid option '%s'\n\n" "$1"; myhelp; exit 1;; *) break;;