Patrick Georgi (patrick@georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/405
-gerrit
commit 4e95b5a8d0a0c82705ff8cadf1f316278dc02dd1 Author: Patrick Georgi patrick@georgi-clan.de Date: Sat Nov 5 12:47:13 2011 +0100
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 --- util/abuild/abuild | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/abuild/abuild b/util/abuild/abuild index 0ed295f..ba144aa 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`