aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/pc80
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2012-08-08 18:28:09 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-07 05:58:55 +0100
commit4959cea9ce40326ebb6bca08f94861d788aeb629 (patch)
tree497670187d3a1d2ac8fc9ba61fcae2c5c00cad75 /src/drivers/pc80
parentfa90fd4f2f4aab4da25bb0c89cb408de36443a25 (diff)
rtc: add explicit dependency on build.h
build.h is generated at build time, with highly parallel builds, we might try to compile the rtc driver too early. Change-Id: I9a2681484d58b67ed3061669fbdf52ac5ad14dab Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-on: http://review.coreboot.org/1698 Reviewed-by: Marc Jones <marcj303@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers/pc80')
-rw-r--r--src/drivers/pc80/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/pc80/Makefile.inc b/src/drivers/pc80/Makefile.inc
index 8ca21bf5e5..0c1a1f016a 100644
--- a/src/drivers/pc80/Makefile.inc
+++ b/src/drivers/pc80/Makefile.inc
@@ -14,3 +14,6 @@ cmos.default-file = $(CONFIG_CMOS_DEFAULT_FILE)
cmos.default-type = 0xaa
smm-y += mc146818rtc.c
+
+$(obj)/drivers/pc80/mc146818rtc.ramstage.o : $(obj)/build.h
+$(obj)/drivers/pc80/mc146818rtc.smm.o : $(obj)/build.h