summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2013-12-19 20:43:29 +0100
committerPatrick Georgi <patrick@georgi-clan.de>2014-05-23 08:35:31 +0200
commitaab0cce88891197510740ac5a663e003b7f99981 (patch)
tree864a11dd70d30ea2a3ab52aa2847633ff860c90b
parent2d242797105c6905c69a64cac3f9cfa591bcb8a3 (diff)
downloadcoreboot-aab0cce88891197510740ac5a663e003b7f99981.tar.xz
abuild: make build directory configurable with a variable
Allow overriding the build directly (default: coreboot-builds) using the COREBOOT_BUILD_DIR variable, in addition to setting it through the -o parameter. This helps with build nodes where jenkins wants to run the same command everywhere but allows different environment variables. Change-Id: If907897cf6ac01caa7d1e4b51aad4c005356bc5b Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/4543 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rwxr-xr-xutil/abuild/abuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 3f28486f72..cbfc9dc9e0 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -22,7 +22,7 @@ ABUILD_VERSION="0.9.3"
TOP=$PWD
# Where shall we place all the build trees?
-TARGET=coreboot-builds
+TARGET=${COREBOOT_BUILD_DIR:-coreboot-builds}
XMLFILE=$TOP/abuild.xml
REAL_XMLFILE=$XMLFILE