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>
This commit is contained in:
parent
2f00ce3d96
commit
92ff934e0b
|
@ -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>'
|
||||
|
||||
|
|
Loading…
Reference in New Issue