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)
This commit is contained in:
Vincent Palatin 2012-08-08 18:28:09 -07:00 committed by Stefan Reinauer
parent fa90fd4f2f
commit 4959cea9ce
1 changed files with 3 additions and 0 deletions

View File

@ -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