drivers/pc80/rtc: Build for bootblock and postcar stages too
Fixes builds with BOOTBLOCK_CONSOLE && USE_OPTION_TABLE. Change-Id: I1c7e9baa60f33c2c3651e2def0335454f7e20451 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/20767 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
efc0fa09fe
commit
a81f321924
|
@ -198,6 +198,7 @@ endif
|
|||
export UPDATED_SUBMODULES:=1
|
||||
endif
|
||||
|
||||
postcar-c-deps:=$$(OPTION_TABLE_H)
|
||||
ramstage-c-deps:=$$(OPTION_TABLE_H)
|
||||
romstage-c-deps:=$$(OPTION_TABLE_H)
|
||||
verstage-c-deps:=$$(OPTION_TABLE_H)
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
ifeq ($(CONFIG_ARCH_X86),y)
|
||||
|
||||
romstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
ramstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
bootblock-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
postcar-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
romstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
ramstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
smm-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
|
||||
ifeq ($(CONFIG_USE_OPTION_TABLE),y)
|
||||
cbfs-files-$(CONFIG_HAVE_CMOS_DEFAULT) += cmos.default
|
||||
|
@ -9,6 +12,4 @@ cmos.default-file = $(CONFIG_CMOS_DEFAULT_FILE):nvramtool
|
|||
cmos.default-type = cmos_default
|
||||
endif
|
||||
|
||||
smm-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue