xref: /openbmc/linux/drivers/rtc/Makefile (revision 8fc2c767)
1c58411e9SAlessandro Zummo#
2c58411e9SAlessandro Zummo# Makefile for RTC class/drivers.
3c58411e9SAlessandro Zummo#
4c58411e9SAlessandro Zummo
59e86ecb6SDavid Brownellifeq ($(CONFIG_RTC_DEBUG),y)
69e86ecb6SDavid Brownell	EXTRA_CFLAGS		+= -DDEBUG
79e86ecb6SDavid Brownellendif
89e86ecb6SDavid Brownell
9c58411e9SAlessandro Zummoobj-$(CONFIG_RTC_LIB)		+= rtc-lib.o
100c86edc0SAlessandro Zummoobj-$(CONFIG_RTC_HCTOSYS)	+= hctosys.o
110c86edc0SAlessandro Zummoobj-$(CONFIG_RTC_CLASS)		+= rtc-core.o
120c86edc0SAlessandro Zummortc-core-y			:= class.o interface.o
13c5c3e192SAlessandro Zummo
145726fb20SDavid Brownellrtc-core-$(CONFIG_RTC_INTF_DEV)	+= rtc-dev.o
157d9f99ecSDavid Brownellrtc-core-$(CONFIG_RTC_INTF_PROC) += rtc-proc.o
16446ecbd9SDavid Brownellrtc-core-$(CONFIG_RTC_INTF_SYSFS) += rtc-sysfs.o
175726fb20SDavid Brownell
180ca56b4bSAlessandro Zummo# Keep the list ordered.
190ca56b4bSAlessandro Zummo
20fa04e78bSHans-Christian Egtvedtobj-$(CONFIG_RTC_DRV_AT32AP700X)+= rtc-at32ap700x.o
210ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
224cdf854fSDavid Brownellobj-$(CONFIG_RTC_DRV_AT91SAM9)	+= rtc-at91sam9.o
230ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_BFIN)	+= rtc-bfin.o
240ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_CMOS)	+= rtc-cmos.o
250ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1216)	+= rtc-ds1216.o
26739d340dSPaul Mundtobj-$(CONFIG_RTC_DRV_DS1302)	+= rtc-ds1302.o
271abb0dc9SDavid Brownellobj-$(CONFIG_RTC_DRV_DS1307)	+= rtc-ds1307.o
28bf4994d7SScott Woodobj-$(CONFIG_RTC_DRV_DS1374)	+= rtc-ds1374.o
298f26795aSAndrew Sharpobj-$(CONFIG_RTC_DRV_DS1511)	+= rtc-ds1511.o
300ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1553)	+= rtc-ds1553.o
31edf1aaa3SAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1672)	+= rtc-ds1672.o
325ec3e4b7SAtsushi Nemotoobj-$(CONFIG_RTC_DRV_DS1742)	+= rtc-ds1742.o
330ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_EP93XX)	+= rtc-ep93xx.o
34c6d8f400SSergey Lapinobj-$(CONFIG_RTC_DRV_FM3130)	+= rtc-fm3130.o
350ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_ISL1208)	+= rtc-isl1208.o
360ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M41T80)	+= rtc-m41t80.o
378fc2c767SKim B. Heinoobj-$(CONFIG_RTC_DRV_M41T94)	+= rtc-m41t94.o
380ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M48T59)	+= rtc-m48t59.o
390ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M48T86)	+= rtc-m48t86.o
400ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_MAX6900)	+= rtc-max6900.o
410ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_MAX6902)	+= rtc-max6902.o
42db68b189SDavid Brownellobj-$(CONFIG_RTC_DRV_OMAP)	+= rtc-omap.o
43b5a82d62SAlessandro Zummoobj-$(CONFIG_RTC_DRV_PCF8563)	+= rtc-pcf8563.o
449c0c5705SG. Liakhovetskiobj-$(CONFIG_RTC_DRV_PCF8583)	+= rtc-pcf8583.o
45a190901cSRussell Kingobj-$(CONFIG_RTC_DRV_PL030)	+= rtc-pl030.o
460ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_PL031)	+= rtc-pl031.o
47c6d8f400SSergey Lapinobj-$(CONFIG_RTC_DRV_PPC)	+= rtc-ppc.o
482805b969SMagnus Dammobj-$(CONFIG_RTC_DRV_R9701)	+= rtc-r9701.o
490ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C313)	+= rtc-rs5c313.o
500ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C348)	+= rtc-rs5c348.o
517520b94dSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C372)	+= rtc-rs5c372.o
52c46288b0SByron Bradleyobj-$(CONFIG_RTC_DRV_S35390A)	+= rtc-s35390a.o
531add6781SBen Dooksobj-$(CONFIG_RTC_DRV_S3C)	+= rtc-s3c.o
54e842f1c8SRichard Purdieobj-$(CONFIG_RTC_DRV_SA1100)	+= rtc-sa1100.o
55317a6104SPaul Mundtobj-$(CONFIG_RTC_DRV_SH)	+= rtc-sh.o
560ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_STK17TA8)	+= rtc-stk17ta8.o
570ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_TEST)	+= rtc-test.o
580ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_V3020)	+= rtc-v3020.o
590ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_VR41XX)	+= rtc-vr41xx.o
600ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_X1205)	+= rtc-x1205.o
61