diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2013-03-21 13:15:45 -0700 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2013-03-21 22:08:05 +0100 |
commit | 43e4a80a92bf00540e4d9b0734eb53f32044226f (patch) | |
tree | e2169aa7d1f4e718859ceaf931b659d8b78b092a /src | |
parent | cddcc80048ab963f96d13575a3f63070cf6d7c14 (diff) |
Fix race condition building console code
On ARMv7 the console code can also be built into
the bootblock. Currently building the ARM targets
on a reasonably fast machine can fail, because
console.bootblock.o is attempted to build before
build.h is created. This patch adds a specific
rule for the bootblock variant of console.c, to
match the other variants so that the race condition
goes away.
Change-Id: I52e4242c66a02f011ef26b854aa50c2606a1f81f
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/2873
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/console/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc index 9499180d4d..40bf357abf 100644 --- a/src/console/Makefile.inc +++ b/src/console/Makefile.inc @@ -28,3 +28,4 @@ ramstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c $(obj)/console/console.ramstage.o : $(obj)/build.h $(obj)/console/console.romstage.o : $(obj)/build.h +$(obj)/console/console.bootblock.o : $(obj)/build.h |