aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/pc80/rtc/Makefile.inc
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-05 08:12:00 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-09 14:38:47 +0000
commit034cf6390f2d8bcacd86adcb49d4d32043cf8ab2 (patch)
tree6148b1de5b49c28e3d56c5ea90472abf4972ff0d /src/drivers/pc80/rtc/Makefile.inc
parentcbf957158806bcd5c733c45baa324559904c609c (diff)
drivers/pc80/rtc: Separate {get|set}_option() support
Move things depending on option_table.h to a separate file. Change-Id: Ib23fcd89bf4efef9072fcaea1d8699145c1f2983 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38193 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/pc80/rtc/Makefile.inc')
-rw-r--r--src/drivers/pc80/rtc/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/pc80/rtc/Makefile.inc b/src/drivers/pc80/rtc/Makefile.inc
index 749306bfba..95b25d6c19 100644
--- a/src/drivers/pc80/rtc/Makefile.inc
+++ b/src/drivers/pc80/rtc/Makefile.inc
@@ -8,6 +8,9 @@ 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
+smm-$(CONFIG_USE_OPTION_TABLE) += option.c
+
ifeq ($(CONFIG_USE_OPTION_TABLE),y)
cbfs-files-$(CONFIG_HAVE_CMOS_DEFAULT) += cmos.default
cmos.default-file = $(CONFIG_CMOS_DEFAULT_FILE):nvramtool