diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2011-11-05 12:47:13 +0100 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-11-06 18:21:40 +0100 |
commit | 8e264656457237c462b30531122143d3a33a057e (patch) | |
tree | c5413d11e03f3ed365d33ec5089f19444f12cd5c /util | |
parent | 641dd71376e367fa3d639a87d694705354f2e028 (diff) | |
download | coreboot-8e264656457237c462b30531122143d3a33a057e.tar.xz |
abuild: Avoid race condition when running abuild parallely
By moving the just-created file away, parallel runs of abuild might break.
Change-Id: I03368f00e9b11dad4c80d41279970e28debc7ed5
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/405
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/abuild/abuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild index 0ed295ff18..ba144aabd5 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -289,7 +289,7 @@ function compile_target eval $MAKE $silent -j $cpus DOTCONFIG=${build_dir}/config.build obj=${build_dir} objutil=$TARGET/sharedutils \ &> ${build_dir}/make.log ret=$? - mv .xcompile ${build_dir}/xcompile.build + cp .xcompile ${build_dir}/xcompile.build cd $TARGET/${VENDOR}_${MAINBOARD} etime=`perl -e 'print time();' 2>/dev/null || date +%s` |