xref: /openbmc/linux/drivers/rtc/Makefile (revision 7fc39f6d)
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
14c5c3e192SAlessandro Zummoobj-$(CONFIG_RTC_INTF_SYSFS)	+= rtc-sysfs.o
15728a2947SAlessandro Zummoobj-$(CONFIG_RTC_INTF_PROC)	+= rtc-proc.o
16e824290eSAlessandro Zummoobj-$(CONFIG_RTC_INTF_DEV)	+= rtc-dev.o
171fec7c66SAlessandro Zummo
181fec7c66SAlessandro Zummoobj-$(CONFIG_RTC_DRV_X1205)	+= rtc-x1205.o
197e56a7dcSHerbert Valerio Riedelobj-$(CONFIG_RTC_DRV_ISL1208)	+= rtc-isl1208.o
20a95579cdSAlessandro Zummoobj-$(CONFIG_RTC_DRV_TEST)	+= rtc-test.o
211abb0dc9SDavid Brownellobj-$(CONFIG_RTC_DRV_DS1307)	+= rtc-ds1307.o
22edf1aaa3SAlessandro Zummoobj-$(CONFIG_RTC_DRV_DS1672)	+= rtc-ds1672.o
235ec3e4b7SAtsushi Nemotoobj-$(CONFIG_RTC_DRV_DS1742)	+= rtc-ds1742.o
24db68b189SDavid Brownellobj-$(CONFIG_RTC_DRV_OMAP)	+= rtc-omap.o
25b5a82d62SAlessandro Zummoobj-$(CONFIG_RTC_DRV_PCF8563)	+= rtc-pcf8563.o
269c0c5705SG. Liakhovetskiobj-$(CONFIG_RTC_DRV_PCF8583)	+= rtc-pcf8583.o
277520b94dSAlessandro Zummoobj-$(CONFIG_RTC_DRV_RS5C372)	+= rtc-rs5c372.o
281add6781SBen Dooksobj-$(CONFIG_RTC_DRV_S3C)	+= rtc-s3c.o
29e0ac4761SAtsushi Nemotoobj-$(CONFIG_RTC_DRV_RS5C348)	+= rtc-rs5c348.o
301d98af87SAlessandro Zummoobj-$(CONFIG_RTC_DRV_M48T86)	+= rtc-m48t86.o
319bf5b4f5SAtsushi Nemotoobj-$(CONFIG_RTC_DRV_DS1553)	+= rtc-ds1553.o
32fd507e2fSAlessandro Zummoobj-$(CONFIG_RTC_DRV_EP93XX)	+= rtc-ep93xx.o
33e842f1c8SRichard Purdieobj-$(CONFIG_RTC_DRV_SA1100)	+= rtc-sa1100.o
348417eb7aSYoichi Yuasaobj-$(CONFIG_RTC_DRV_VR41XX)	+= rtc-vr41xx.o
358ae6e163SDeepak Saxenaobj-$(CONFIG_RTC_DRV_PL031)	+= rtc-pl031.o
368e12ecc2SRaphael Assenatobj-$(CONFIG_RTC_DRV_MAX6902)	+= rtc-max6902.o
37362600feSRaphael Assenatobj-$(CONFIG_RTC_DRV_V3020)	+= rtc-v3020.o
387fc39f6dSAndrew Victorobj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
39317a6104SPaul Mundtobj-$(CONFIG_RTC_DRV_SH)	+= rtc-sh.o
40