summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2012-05-21 20:10:04 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2012-05-24 18:09:17 +0200
commit92ff934e0bfd9b850c2335ee5439f04325b85347 (patch)
tree726ebab48ee90122ae54764ed6e1d1ffd48067f6 /util
parent2f00ce3d964e56e2bf3f45033451f0e44c69d78d (diff)
downloadcoreboot-92ff934e0bfd9b850c2335ee5439f04325b85347.tar.xz
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@georgi-clan.de> Reviewed-on: http://review.coreboot.org/1037 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'util')
-rwxr-xr-xutil/abuild/abuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 481fbc22c2..65d9cea8fb 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>'