[coreboot-gerrit] New patch to review for coreboot: 16b0427 abuild: add option to build with CHROMEOS enabled

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Wed Apr 22 18:39:22 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9966

-gerrit

commit 16b0427e2b62694dcfecaf96bc356cf1c08d85a8
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Wed Apr 22 18:38:10 2015 +0200

    abuild: add option to build with CHROMEOS enabled
    
    abuild -x (we're running out of letters) builds with CHROMEOS enabled.
    
    Change-Id: Ie9abd8aa999dd339aab113ff28c16671b2a17845
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
 util/abuild/abuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/util/abuild/abuild b/util/abuild/abuild
index a73fdb8..85805d7 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -405,6 +405,7 @@ function myhelp
 	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"
@@ -446,11 +447,11 @@ cmdline="$* -c 1"
 getoptbrand="`getopt -V`"
 if [ "${getoptbrand:0:6}" == "getopt" ]; then
 	# Detected GNU getopt that supports long options.
-	args=`getopt -l version,verbose,quiet,help,all,target:,payloads:,test,cpus:,silent,junit,config,loglevel:,remove,prefix:,update,scan-build,ccache,blobs,clang,clean,outdir: -o Vvqhat:p:Tc:sJCl:rP:uyBLzo: -- "$@"` || exit 1
+	args=`getopt -l version,verbose,quiet,help,all,target:,payloads:,test,cpus:,silent,junit,config,loglevel:,remove,prefix:,update,scan-build,ccache,blobs,clang,clean,outdir:,chromeos -o Vvqhat:p:Tc:sJCl:rP:uyBLzo:x -- "$@"` || exit 1
 	eval set -- $args
 else
 	# Detected non-GNU getopt
-	args=`getopt Vvqhat:bp:Tc:sJxCl:rP:uy $*`
+	args=`getopt Vvqhat:p:Tc:sJCl:rP:uyBLzo:x $*`
 	set -- $args
 fi
 
@@ -519,6 +520,9 @@ while true ; do
 		-o|--outdir)	shift
 			TARGET=$1; shift
 			;;
+		-x|--chromeos)	shift
+			configoptions="${configoptions}CONFIG_CHROMEOS=y\n"
+			;;
 		--)		shift; break;;
 		-*)		printf "Invalid option\n\n"; myhelp; exit 1;;
 		*)		break;;



More information about the coreboot-gerrit mailing list