Makefile 7.49 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2 3 4 5
#
# Makefile for RTC class/drivers.
#

6
ccflags-$(CONFIG_RTC_DEBUG)	:= -DDEBUG
7

8
obj-$(CONFIG_RTC_LIB)		+= lib.o
9
obj-$(CONFIG_RTC_HCTOSYS)	+= hctosys.o
10
obj-$(CONFIG_RTC_SYSTOHC)	+= systohc.o
11
obj-$(CONFIG_RTC_CLASS)		+= rtc-core.o
12
obj-$(CONFIG_RTC_MC146818_LIB)	+= rtc-mc146818-lib.o
13
rtc-core-y			:= class.o interface.o
14

15 16 17 18
ifdef CONFIG_RTC_DRV_EFI
rtc-core-y			+= rtc-efi-platform.o
endif

19
rtc-core-$(CONFIG_RTC_NVMEM)		+= nvmem.o
20 21 22
rtc-core-$(CONFIG_RTC_INTF_DEV)		+= dev.o
rtc-core-$(CONFIG_RTC_INTF_PROC)	+= proc.o
rtc-core-$(CONFIG_RTC_INTF_SYSFS)	+= sysfs.o
23

Alessandro Zummo's avatar
Alessandro Zummo committed
24 25
# Keep the list ordered.

26
obj-$(CONFIG_RTC_DRV_88PM80X)	+= rtc-88pm80x.o
27
obj-$(CONFIG_RTC_DRV_88PM860X)	+= rtc-88pm860x.o
Linus Walleij's avatar
Linus Walleij committed
28
obj-$(CONFIG_RTC_DRV_AB3100)	+= rtc-ab3100.o
29
obj-$(CONFIG_RTC_DRV_AB8500)	+= rtc-ab8500.o
30
obj-$(CONFIG_RTC_DRV_ABB5ZES3)	+= rtc-ab-b5ze-s3.o
31
obj-$(CONFIG_RTC_DRV_ABX80X)	+= rtc-abx80x.o
32
obj-$(CONFIG_RTC_DRV_AC100)	+= rtc-ac100.o
33
obj-$(CONFIG_RTC_DRV_ARMADA38X)	+= rtc-armada38x.o
34
obj-$(CONFIG_RTC_DRV_AS3722)	+= rtc-as3722.o
35
obj-$(CONFIG_RTC_DRV_ASM9260)	+= rtc-asm9260.o
Alessandro Zummo's avatar
Alessandro Zummo committed
36
obj-$(CONFIG_RTC_DRV_AT91RM9200)+= rtc-at91rm9200.o
37
obj-$(CONFIG_RTC_DRV_AT91SAM9)	+= rtc-at91sam9.o
38
obj-$(CONFIG_RTC_DRV_AU1XXX)	+= rtc-au1xxx.o
39
obj-$(CONFIG_RTC_DRV_BQ32K)	+= rtc-bq32k.o
Alessandro Zummo's avatar
Alessandro Zummo committed
40
obj-$(CONFIG_RTC_DRV_BQ4802)	+= rtc-bq4802.o
41
obj-$(CONFIG_RTC_DRV_BRCMSTB)	+= rtc-brcmstb-waketimer.o
42
obj-$(CONFIG_RTC_DRV_CMOS)	+= rtc-cmos.o
Alessandro Zummo's avatar
Alessandro Zummo committed
43
obj-$(CONFIG_RTC_DRV_COH901331)	+= rtc-coh901331.o
44
obj-$(CONFIG_RTC_DRV_CPCAP)	+= rtc-cpcap.o
45
obj-$(CONFIG_RTC_DRV_CROS_EC)	+= rtc-cros-ec.o
46
obj-$(CONFIG_RTC_DRV_DA9052)	+= rtc-da9052.o
Ashish Jangam's avatar
Ashish Jangam committed
47
obj-$(CONFIG_RTC_DRV_DA9055)	+= rtc-da9055.o
48
obj-$(CONFIG_RTC_DRV_DA9063)	+= rtc-da9063.o
Miguel Aguilar's avatar
Miguel Aguilar committed
49
obj-$(CONFIG_RTC_DRV_DAVINCI)	+= rtc-davinci.o
50
obj-$(CONFIG_RTC_DRV_DIGICOLOR)	+= rtc-digicolor.o
51
obj-$(CONFIG_RTC_DRV_DM355EVM)	+= rtc-dm355evm.o
Alessandro Zummo's avatar
Alessandro Zummo committed
52
obj-$(CONFIG_RTC_DRV_DS1216)	+= rtc-ds1216.o
53
obj-$(CONFIG_RTC_DRV_DS1286)	+= rtc-ds1286.o
Paul Mundt's avatar
Paul Mundt committed
54
obj-$(CONFIG_RTC_DRV_DS1302)	+= rtc-ds1302.o
55
obj-$(CONFIG_RTC_DRV_DS1305)	+= rtc-ds1305.o
56
obj-$(CONFIG_RTC_DRV_DS1307)	+= rtc-ds1307.o
57
obj-$(CONFIG_RTC_DRV_DS1343)	+= rtc-ds1343.o
58
obj-$(CONFIG_RTC_DRV_DS1347)	+= rtc-ds1347.o
59
obj-$(CONFIG_RTC_DRV_DS1374)	+= rtc-ds1374.o
60
obj-$(CONFIG_RTC_DRV_DS1390)	+= rtc-ds1390.o
61
obj-$(CONFIG_RTC_DRV_DS1511)	+= rtc-ds1511.o
Alessandro Zummo's avatar
Alessandro Zummo committed
62
obj-$(CONFIG_RTC_DRV_DS1553)	+= rtc-ds1553.o
63
obj-$(CONFIG_RTC_DRV_DS1672)	+= rtc-ds1672.o
64
obj-$(CONFIG_RTC_DRV_DS1685_FAMILY)	+= rtc-ds1685.o
65
obj-$(CONFIG_RTC_DRV_DS1742)	+= rtc-ds1742.o
66
obj-$(CONFIG_RTC_DRV_DS2404)	+= rtc-ds2404.o
67
obj-$(CONFIG_RTC_DRV_DS3232)	+= rtc-ds3232.o
68
obj-$(CONFIG_RTC_DRV_EFI)	+= rtc-efi.o
69
obj-$(CONFIG_RTC_DRV_EM3027)	+= rtc-em3027.o
Alessandro Zummo's avatar
Alessandro Zummo committed
70
obj-$(CONFIG_RTC_DRV_EP93XX)	+= rtc-ep93xx.o
71
obj-$(CONFIG_RTC_DRV_FM3130)	+= rtc-fm3130.o
72
obj-$(CONFIG_RTC_DRV_FTRTC010)	+= rtc-ftrtc010.o
Alessandro Zummo's avatar
Alessandro Zummo committed
73
obj-$(CONFIG_RTC_DRV_GENERIC)	+= rtc-generic.o
74
obj-$(CONFIG_RTC_DRV_GOLDFISH)	+= rtc-goldfish.o
75
obj-$(CONFIG_RTC_DRV_HID_SENSOR_TIME) += rtc-hid-sensor-time.o
76
obj-$(CONFIG_RTC_DRV_HYM8563)	+= rtc-hym8563.o
77
obj-$(CONFIG_RTC_DRV_IMXDI)	+= rtc-imxdi.o
78
obj-$(CONFIG_RTC_DRV_IMX_SC)	+= rtc-imx-sc.o
79
obj-$(CONFIG_RTC_DRV_ISL12022)	+= rtc-isl12022.o
David Daney's avatar
David Daney committed
80
obj-$(CONFIG_RTC_DRV_ISL12026)	+= rtc-isl12026.o
81
obj-$(CONFIG_RTC_DRV_ISL1208)	+= rtc-isl1208.o
82
obj-$(CONFIG_RTC_DRV_JZ4740)	+= rtc-jz4740.o
83
obj-$(CONFIG_RTC_DRV_LOONGSON1)	+= rtc-ls1x.o
84
obj-$(CONFIG_RTC_DRV_LP8788)	+= rtc-lp8788.o
85
obj-$(CONFIG_RTC_DRV_LPC24XX)	+= rtc-lpc24xx.o
86
obj-$(CONFIG_RTC_DRV_LPC32XX)	+= rtc-lpc32xx.o
Alessandro Zummo's avatar
Alessandro Zummo committed
87
obj-$(CONFIG_RTC_DRV_M41T80)	+= rtc-m41t80.o
88
obj-$(CONFIG_RTC_DRV_M41T93)	+= rtc-m41t93.o
89
obj-$(CONFIG_RTC_DRV_M41T94)	+= rtc-m41t94.o
90
obj-$(CONFIG_RTC_DRV_M48T35)	+= rtc-m48t35.o
Alessandro Zummo's avatar
Alessandro Zummo committed
91 92 93 94
obj-$(CONFIG_RTC_DRV_M48T59)	+= rtc-m48t59.o
obj-$(CONFIG_RTC_DRV_M48T86)	+= rtc-m48t86.o
obj-$(CONFIG_RTC_DRV_MAX6900)	+= rtc-max6900.o
obj-$(CONFIG_RTC_DRV_MAX6902)	+= rtc-max6902.o
95
obj-$(CONFIG_RTC_DRV_MAX6916)	+= rtc-max6916.o
96
obj-$(CONFIG_RTC_DRV_MAX77686)	+= rtc-max77686.o
97
obj-$(CONFIG_RTC_DRV_MAX8907)	+= rtc-max8907.o
98
obj-$(CONFIG_RTC_DRV_MAX8925)	+= rtc-max8925.o
99
obj-$(CONFIG_RTC_DRV_MAX8997)	+= rtc-max8997.o
100
obj-$(CONFIG_RTC_DRV_MAX8998)	+= rtc-max8998.o
101
obj-$(CONFIG_RTC_DRV_MC13XXX)	+= rtc-mc13xxx.o
102
obj-$(CONFIG_RTC_DRV_MCP795)	+= rtc-mcp795.o
103
obj-$(CONFIG_RTC_DRV_MOXART)	+= rtc-moxart.o
104
obj-$(CONFIG_RTC_DRV_MPC5121)	+= rtc-mpc5121.o
105 106
obj-$(CONFIG_RTC_DRV_MSM6242)	+= rtc-msm6242.o
obj-$(CONFIG_RTC_DRV_MT6397)	+= rtc-mt6397.o
107
obj-$(CONFIG_RTC_DRV_MT7622)	+= rtc-mt7622.o
108
obj-$(CONFIG_RTC_DRV_MV)	+= rtc-mv.o
109
obj-$(CONFIG_RTC_DRV_MXC)	+= rtc-mxc.o
110
obj-$(CONFIG_RTC_DRV_MXC_V2)	+= rtc-mxc_v2.o
111
obj-$(CONFIG_RTC_DRV_NUC900)	+= rtc-nuc900.o
112
obj-$(CONFIG_RTC_DRV_OMAP)	+= rtc-omap.o
113
obj-$(CONFIG_RTC_DRV_OPAL)	+= rtc-opal.o
114
obj-$(CONFIG_RTC_DRV_PALMAS)	+= rtc-palmas.o
115
obj-$(CONFIG_RTC_DRV_PCAP)	+= rtc-pcap.o
116
obj-$(CONFIG_RTC_DRV_PCF2123)	+= rtc-pcf2123.o
117
obj-$(CONFIG_RTC_DRV_PCF2127)	+= rtc-pcf2127.o
118 119
obj-$(CONFIG_RTC_DRV_PCF50633)	+= rtc-pcf50633.o
obj-$(CONFIG_RTC_DRV_PCF85063)	+= rtc-pcf85063.o
120
obj-$(CONFIG_RTC_DRV_PCF8523)	+= rtc-pcf8523.o
121
obj-$(CONFIG_RTC_DRV_PCF85363)	+= rtc-pcf85363.o
122
obj-$(CONFIG_RTC_DRV_PCF8563)	+= rtc-pcf8563.o
123
obj-$(CONFIG_RTC_DRV_PCF8583)	+= rtc-pcf8583.o
124
obj-$(CONFIG_RTC_DRV_PIC32)	+= rtc-pic32.o
125
obj-$(CONFIG_RTC_DRV_PL030)	+= rtc-pl030.o
Alessandro Zummo's avatar
Alessandro Zummo committed
126
obj-$(CONFIG_RTC_DRV_PL031)	+= rtc-pl031.o
127
obj-$(CONFIG_RTC_DRV_PM8XXX)	+= rtc-pm8xxx.o
Alessandro Zummo's avatar
Alessandro Zummo committed
128
obj-$(CONFIG_RTC_DRV_PS3)	+= rtc-ps3.o
129
obj-$(CONFIG_RTC_DRV_PUV3)	+= rtc-puv3.o
130
obj-$(CONFIG_RTC_DRV_PXA)	+= rtc-pxa.o
131
obj-$(CONFIG_RTC_DRV_R7301)	+= rtc-r7301.o
132
obj-$(CONFIG_RTC_DRV_R9701)	+= rtc-r9701.o
133
obj-$(CONFIG_RTC_DRV_RC5T583)	+= rtc-rc5t583.o
134
obj-$(CONFIG_RTC_DRV_RK808)	+= rtc-rk808.o
135
obj-$(CONFIG_RTC_DRV_RP5C01)	+= rtc-rp5c01.o
Alessandro Zummo's avatar
Alessandro Zummo committed
136 137
obj-$(CONFIG_RTC_DRV_RS5C313)	+= rtc-rs5c313.o
obj-$(CONFIG_RTC_DRV_RS5C348)	+= rtc-rs5c348.o
138
obj-$(CONFIG_RTC_DRV_RS5C372)	+= rtc-rs5c372.o
139
obj-$(CONFIG_RTC_DRV_RTD119X)	+= rtc-rtd119x.o
140
obj-$(CONFIG_RTC_DRV_RV3029C2)	+= rtc-rv3029c2.o
141
obj-$(CONFIG_RTC_DRV_RV8803)	+= rtc-rv8803.o
142
obj-$(CONFIG_RTC_DRV_RX4581)	+= rtc-rx4581.o
143
obj-$(CONFIG_RTC_DRV_RX6110)	+= rtc-rx6110.o
144
obj-$(CONFIG_RTC_DRV_RX8010)	+= rtc-rx8010.o
145
obj-$(CONFIG_RTC_DRV_RX8025)	+= rtc-rx8025.o
146
obj-$(CONFIG_RTC_DRV_RX8581)	+= rtc-rx8581.o
147
obj-$(CONFIG_RTC_DRV_S35390A)	+= rtc-s35390a.o
148
obj-$(CONFIG_RTC_DRV_S3C)	+= rtc-s3c.o
149
obj-$(CONFIG_RTC_DRV_S5M)	+= rtc-s5m.o
150
obj-$(CONFIG_RTC_DRV_SA1100)	+= rtc-sa1100.o
151
obj-$(CONFIG_RTC_DRV_SC27XX)	+= rtc-sc27xx.o
Dianlong Li's avatar
Dianlong Li committed
152
obj-$(CONFIG_RTC_DRV_SD3078)   += rtc-sd3078.o
153
obj-$(CONFIG_RTC_DRV_SH)	+= rtc-sh.o
154
obj-$(CONFIG_RTC_DRV_SIRFSOC)	+= rtc-sirfsoc.o
155
obj-$(CONFIG_RTC_DRV_SNVS)	+= rtc-snvs.o
156
obj-$(CONFIG_RTC_DRV_SPEAR)	+= rtc-spear.o
Alessandro Zummo's avatar
Alessandro Zummo committed
157
obj-$(CONFIG_RTC_DRV_STARFIRE)	+= rtc-starfire.o
Alessandro Zummo's avatar
Alessandro Zummo committed
158
obj-$(CONFIG_RTC_DRV_STK17TA8)	+= rtc-stk17ta8.o
159
obj-$(CONFIG_RTC_DRV_ST_LPC)	+= rtc-st-lpc.o
160
obj-$(CONFIG_RTC_DRV_STM32) 	+= rtc-stm32.o
Alessandro Zummo's avatar
Alessandro Zummo committed
161 162
obj-$(CONFIG_RTC_DRV_STMP)	+= rtc-stmp3xxx.o
obj-$(CONFIG_RTC_DRV_SUN4V)	+= rtc-sun4v.o
163
obj-$(CONFIG_RTC_DRV_SUN6I)	+= rtc-sun6i.o
164
obj-$(CONFIG_RTC_DRV_SUNXI)	+= rtc-sunxi.o
165
obj-$(CONFIG_RTC_DRV_TEGRA)	+= rtc-tegra.o
Alessandro Zummo's avatar
Alessandro Zummo committed
166
obj-$(CONFIG_RTC_DRV_TEST)	+= rtc-test.o
167
obj-$(CONFIG_RTC_DRV_TPS6586X)	+= rtc-tps6586x.o
168
obj-$(CONFIG_RTC_DRV_TPS65910)	+= rtc-tps65910.o
169
obj-$(CONFIG_RTC_DRV_TPS80031)	+= rtc-tps80031.o
170
obj-$(CONFIG_RTC_DRV_TWL4030)	+= rtc-twl.o
171
obj-$(CONFIG_RTC_DRV_TX4939)	+= rtc-tx4939.o
Alessandro Zummo's avatar
Alessandro Zummo committed
172 173
obj-$(CONFIG_RTC_DRV_V3020)	+= rtc-v3020.o
obj-$(CONFIG_RTC_DRV_VR41XX)	+= rtc-vr41xx.o
174
obj-$(CONFIG_RTC_DRV_VRTC)	+= rtc-mrst.o
175
obj-$(CONFIG_RTC_DRV_VT8500)	+= rtc-vt8500.o
176
obj-$(CONFIG_RTC_DRV_WM831X)	+= rtc-wm831x.o
177
obj-$(CONFIG_RTC_DRV_WM8350)	+= rtc-wm8350.o
Alessandro Zummo's avatar
Alessandro Zummo committed
178
obj-$(CONFIG_RTC_DRV_X1205)	+= rtc-x1205.o
179
obj-$(CONFIG_RTC_DRV_XGENE)	+= rtc-xgene.o
180
obj-$(CONFIG_RTC_DRV_ZYNQMP)	+= rtc-zynqmp.o