the following patch was just integrated into master: commit 2772620ad098e8dd1487667fbafd5947dbe5da08 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Sat Mar 31 09:48:11 2012 +0300
Fix coreboot makefiles not to produce half baked output.
There were cases where output file was generated and modified within a recipe. If make was interrupted, it could exit with an output file that appears as up-to-date, but was generated with incomplete recipe.
The output file should be created only when successful, in an atomic operation. There could be other places in the make system which require a similar fix, this needs to be investigated further.
Change-Id: I25c8ee23577a460eace196fd28c23cc67aa72a9a Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com
Reviewed-By: Patrick Georgi patrick@georgi-clan.de at Sat Mar 31 11:29:46 2012, giving +2 See http://review.coreboot.org/830 for details.
-gerrit