From 43e4a80a92bf00540e4d9b0734eb53f32044226f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 21 Mar 2013 13:15:45 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/2873 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/console/Makefile.inc | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3