diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2011-11-05 02:07:01 +0000 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-03-30 05:30:58 +0200 |
commit | 10fea924772be63b668d3d8c8879570487bbc109 (patch) | |
tree | 8084b3d6686df5545a58348a26e221cef2d0550b /README | |
parent | cde7801c2e5560ef0c923a41beac4f4cdc3fcbd4 (diff) |
Fix coreboot makefiles not to produce half baked output.
It looks like the cbfstool utility generates the output file even when
it fails to generate it properly. This causes make, if started second
time in a row, after cbfstool failure, to continue beyond the point of
failure (as the corrupted output file is present in the output tree,
the second make invocation presumes that it is valid, as it is newer
than the dependencies).
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: I7c17f033ee5937eb712b1a594122430cee5c9146
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/750
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions