summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/pc80/rtc/Makefile.inc18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/drivers/pc80/rtc/Makefile.inc b/src/drivers/pc80/rtc/Makefile.inc
index 4938d78ad2..c0dd1275d8 100644
--- a/src/drivers/pc80/rtc/Makefile.inc
+++ b/src/drivers/pc80/rtc/Makefile.inc
@@ -1,6 +1,10 @@
ifeq ($(CONFIG_ARCH_X86),y)
-all-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
+bootblock-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
+verstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
+postcar-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
+romstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
+ramstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
bootblock-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
postcar-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
@@ -8,10 +12,18 @@ romstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
ramstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
smm-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
-all-$(CONFIG_USE_OPTION_TABLE) += option.c
+bootblock-$(CONFIG_USE_OPTION_TABLE) += option.c
+verstage-$(CONFIG_USE_OPTION_TABLE) += option.c
+postcar-$(CONFIG_USE_OPTION_TABLE) += option.c
+romstage-$(CONFIG_USE_OPTION_TABLE) += option.c
+ramstage-$(CONFIG_USE_OPTION_TABLE) += option.c
smm-$(CONFIG_USE_OPTION_TABLE) += option.c
-all-$(CONFIG_CMOS_POST) += post.c
+bootblock-$(CONFIG_CMOS_POST) += post.c
+verstage-$(CONFIG_CMOS_POST) += post.c
+postcar-$(CONFIG_CMOS_POST) += post.c
+romstage-$(CONFIG_CMOS_POST) += post.c
+ramstage-$(CONFIG_CMOS_POST) += post.c
ifeq ($(CONFIG_USE_OPTION_TABLE),y)
cbfs-files-$(CONFIG_HAVE_CMOS_DEFAULT) += cmos.default