coreboot-kgpe-d16/src/drivers/pc80/Makefile.inc
Vincent Palatin 4959cea9ce 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)
2012-11-07 05:58:55 +01:00

19 lines
543 B
Makefile

ramstage-y += mc146818rtc.c
ramstage-y += isa-dma.c
ramstage-y += i8254.c
ramstage-y += i8259.c
ramstage-$(CONFIG_UDELAY_IO) += udelay_io.c
ramstage-y += keyboard.c
romstage-$(CONFIG_TPM) += tpm.c
romstage-$(CONFIG_USE_OPTION_TABLE) += mc146818rtc_early.c
subdirs-y += vga
cbfs-files-$(CONFIG_HAVE_CMOS_DEFAULT) += cmos.default
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