summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc1
-rw-r--r--src/drivers/pc80/rtc/Makefile.inc9
2 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 2f230ca82e..573020123a 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -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)
diff --git a/src/drivers/pc80/rtc/Makefile.inc b/src/drivers/pc80/rtc/Makefile.inc
index 5d7aef1c1f..eb65bf5da4 100644
--- a/src/drivers/pc80/rtc/Makefile.inc
+++ b/src/drivers/pc80/rtc/Makefile.inc
@@ -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