summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2018-11-05 23:36:41 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-06-10 21:26:13 +0000
commitad9f8cf02d1996bacaad584543a68122df822031 (patch)
treeed176c5542b0acc1c795d25ef64da4f73a69acdc /util
parent6ba591b4472c7b8442de860c1a401340be5e5c25 (diff)
downloadcoreboot-ad9f8cf02d1996bacaad584543a68122df822031.tar.xz
util/abuild: Ensure .xcompile exists
abuild requires the `.xcompile` file to be present already before it runs any actual `make` builds that would generate it. Change-Id: Ib485e7741b7700fa241c192e60900ae5f1d977f5 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/29483 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
-rwxr-xr-xutil/abuild/abuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index b6a6bfeda7..934bc5d4ac 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -770,6 +770,8 @@ if ! mkdir -p "$TARGET"; then
exit 1
fi
+$MAKE -C"${ROOT}" .xcompile || exit 1
+
customizing=$(echo "$customizing" | cut -c3-)
if [ "$customizing" = "" ]; then
customizing="default configuration"