[coreboot-gerrit] Change in coreboot[master]: drivers/pc80/rtc: Build for bootblock and postcar stages too

Nico Huber (Code Review) gerrit at coreboot.org
Tue Jul 25 16:53:07 CEST 2017


Nico Huber has uploaded this change for review. ( https://review.coreboot.org/20767


Change subject: drivers/pc80/rtc: Build for bootblock and postcar stages too
......................................................................

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 at secunet.com>
---
M src/drivers/pc80/rtc/Makefile.inc
1 file changed, 5 insertions(+), 4 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/67/20767/1

diff --git a/src/drivers/pc80/rtc/Makefile.inc b/src/drivers/pc80/rtc/Makefile.inc
index 5d7aef1..eb65bf5 100644
--- a/src/drivers/pc80/rtc/Makefile.inc
+++ b/src/drivers/pc80/rtc/Makefile.inc
@@ -1,14 +1,15 @@
 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
 cmos.default-file = $(CONFIG_CMOS_DEFAULT_FILE):nvramtool
 cmos.default-type = cmos_default
 endif
-
-smm-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
 
 endif

-- 
To view, visit https://review.coreboot.org/20767
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c7e9baa60f33c2c3651e2def0335454f7e20451
Gerrit-Change-Number: 20767
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170725/27767d46/attachment.html>


More information about the coreboot-gerrit mailing list