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>
This commit is contained in:
Patrick Georgi 2013-12-19 20:43:29 +01:00
parent 2d24279710
commit aab0cce888
1 changed files with 1 additions and 1 deletions

View File

@ -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