xref: /openbmc/linux/drivers/rtc/Makefile (revision 2805b969)
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
220ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_BFIN)	+= rtc-bfin.o
230ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_CMOS)	+= rtc-cmos.o
240ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1216)	+= rtc-ds1216.o
25739d340dSPaul Mundtobj-$(CONFIG_RTC_DRV_DS1302)	+= rtc-ds1302.o
261abb0dc9SDavid Brownellobj-$(CONFIG_RTC_DRV_DS1307)	+= rtc-ds1307.o
27bf4994d7SScott Woodobj-$(CONFIG_RTC_DRV_DS1374)	+= rtc-ds1374.o
288f26795aSAndrew Sharpobj-$(CONFIG_RTC_DRV_DS1511)	+= rtc-ds1511.o
290ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1553)	+= rtc-ds1553.o
30edf1aaa3SAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1672)	+= rtc-ds1672.o
315ec3e4b7SAtsushi Nemotoobj-$(CONFIG_RTC_DRV_DS1742)	+= rtc-ds1742.o
320ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_EP93XX)	+= rtc-ep93xx.o
330ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_ISL1208)	+= rtc-isl1208.o
340ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M41T80)	+= rtc-m41t80.o
350ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M48T59)	+= rtc-m48t59.o
360ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_M48T86)	+= rtc-m48t86.o
370ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_MAX6900)	+= rtc-max6900.o
380ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_MAX6902)	+= rtc-max6902.o
39db68b189SDavid Brownellobj-$(CONFIG_RTC_DRV_OMAP)	+= rtc-omap.o
40b5a82d62SAlessandro Zummoobj-$(CONFIG_RTC_DRV_PCF8563)	+= rtc-pcf8563.o
419c0c5705SG. Liakhovetskiobj-$(CONFIG_RTC_DRV_PCF8583)	+= rtc-pcf8583.o
420ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_PL031)	+= rtc-pl031.o
432805b969SMagnus Dammobj-$(CONFIG_RTC_DRV_R9701)	+= rtc-r9701.o
440ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C313)	+= rtc-rs5c313.o
450ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C348)	+= rtc-rs5c348.o
467520b94dSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C372)	+= rtc-rs5c372.o
471add6781SBen Dooksobj-$(CONFIG_RTC_DRV_S3C)	+= rtc-s3c.o
48e842f1c8SRichard Purdieobj-$(CONFIG_RTC_DRV_SA1100)	+= rtc-sa1100.o
49317a6104SPaul Mundtobj-$(CONFIG_RTC_DRV_SH)	+= rtc-sh.o
500ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_STK17TA8)	+= rtc-stk17ta8.o
510ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_TEST)	+= rtc-test.o
520ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_V3020)	+= rtc-v3020.o
530ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_VR41XX)	+= rtc-vr41xx.o
540ca56b4bSAlessandro Zummoobj-$(CONFIG_RTC_DRV_X1205)	+= rtc-x1205.o
55