[coreboot] Patch set updated for coreboot: b071aa2 abuild: Disable abuild-level parallelism for now

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Thu May 24 09:00:20 CEST 2012


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1037

-gerrit

commit b071aa230fe252af638aed7d0bfc979cb914b93e
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Mon May 21 20:10:04 2012 +0200

    abuild: Disable abuild-level parallelism for now
    
    It still failed because make touches files it isn't
    supposed to touch.
    
    Change-Id: I5a6ceaa9d5da212c1e34b121cf39fa9d27964747
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 util/abuild/abuild |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/util/abuild/abuild b/util/abuild/abuild
index 481fbc2..65d9cea 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -309,6 +309,7 @@ function build_target
  	HOSTCC='gcc'
 
 	printf "Building $VENDOR/$MAINBOARD; "
+	mkdir -p $TOP/$TARGET/${VENDOR}_${MAINBOARD}
 	XMLFILE=$TOP/$TARGET/${VENDOR}_${MAINBOARD}/abuild.xml
 
 	xml "<mainboard>"
@@ -606,12 +607,12 @@ USE_XARGS=0
 if [ "$cpus" != "1" ]; then
 	if [ "$target" = "" ]; then
 		# Test if xargs supports the non-standard -P flag
-		echo | xargs -P 0$cpus -n 1 echo 2>/dev/null >/dev/null && USE_XARGS=1
+		# FIXME: disabled until we managed to eliminate all the make(1) quirks
+		echo | xargs -P 0$cpus -n 1 echo 2>/dev/null >/dev/null  # && USE_XARGS=1
 	fi
 fi
 
 if [ "$USE_XARGS" = "0" ]; then
-export MAKEFLAGS="-j $cpus"
 build_all_targets()
 {
 	for VENDOR in $( vendors ); do
@@ -673,6 +674,7 @@ if [ "$target" != "" ]; then
 else
 	build_all_targets
 	rm -f $REAL_XMLFILE
+	XMLFILE=$REAL_XMLFILE
 	xml '<?xml version="1.0" encoding="utf-8"?>'
 	xml '<abuild>'
 




More information about the coreboot mailing list