Nico Huber has uploaded this change for review.

View Change

util/abuild: Run `make .xcompile` only once

If abuild called itself recursively, the file already exists and we can
spare us one evaluation of all the makefiles per recursive abuild run.

Change-Id: Id3e2239354ec251c24c03c971987586deeb026c5
Signed-off-by: Nico Huber <nico.h@gmx.de>
---
M util/abuild/abuild
1 file changed, 1 insertion(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/42640/1
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 022567d..d41fcd1 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -769,8 +769,6 @@
exit 1
fi

-$MAKE -C"${ROOT}" .xcompile || exit 1
-
customizing=$(echo "$customizing" | cut -c3-)
if [ "$customizing" = "" ]; then
customizing="default configuration"
@@ -780,6 +778,7 @@
PASSED_BOARDS="$(realpath ${TARGET}/passing_boards)"

if [ "$recursive" = "false" ]; then
+ $MAKE -C"${ROOT}" .xcompile || exit 1
rm -f "$FAILED_BOARDS" "$PASSED_BOARDS"
fi


To view, visit change 42640. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id3e2239354ec251c24c03c971987586deeb026c5
Gerrit-Change-Number: 42640
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h@gmx.de>
Gerrit-MessageType: newchange