summaryrefslogtreecommitdiff
path: root/src/drivers/pc80/rtc/Makefile.inc
blob: 5edb59bb1a1263f60b4f82470d7cdea6760f166c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ifeq ($(CONFIG_ARCH_X86),y)

romstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_early.c
romstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c

ramstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_early.c
ramstage-$(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