# SPDX-License-Identifier: GPL-2.0
#
# Makefile for RTC class/drivers.
#
ccflags-$([31mCONFIG_RTC_DEBUG[0m) := -DDEBUG
obj-$([31mCONFIG_RTC_LIB[0m) += lib.o
obj-$([31mCONFIG_RTC_HCTOSYS[0m) += hctosys.o
obj-$([31mCONFIG_RTC_SYSTOHC[0m) += systohc.o
obj-$([31mCONFIG_RTC_CLASS[0m) += rtc-core.o
obj-$([31mCONFIG_RTC_MC146818_LIB[0m) += rtc-mc146818-lib.o
rtc-core-y := class.o interface.o
ifdef [31mCONFIG_RTC_DRV_EFI[0m
rtc-core-y += rtc-efi-platform.o
endif
rtc-core-$([31mCONFIG_RTC_NVMEM[0m) += nvmem.o
rtc-core-$([31mCONFIG_RTC_INTF_DEV[0m) += dev.o
rtc-core-$([31mCONFIG_RTC_INTF_PROC[0m) += proc.o
rtc-core-$([31mCONFIG_RTC_INTF_SYSFS[0m) += sysfs.o
# Keep the list ordered.
obj-$([31mCONFIG_RTC_DRV_88PM80X[0m) += rtc-88pm80x.o
obj-$([31mCONFIG_RTC_DRV_88PM860X[0m) += rtc-88pm860x.o
obj-$([31mCONFIG_RTC_DRV_AB3100[0m) += rtc-ab3100.o
obj-$([31mCONFIG_RTC_DRV_AB8500[0m) += rtc-ab8500.o
obj-$([31mCONFIG_RTC_DRV_ABB5ZES3[0m) += rtc-ab-b5ze-s3.o
obj-$([31mCONFIG_RTC_DRV_ABEOZ9[0m) += rtc-ab-eoz9.o
obj-$([31mCONFIG_RTC_DRV_ABX80X[0m) += rtc-abx80x.o
obj-$([31mCONFIG_RTC_DRV_AC100[0m) += rtc-ac100.o
obj-$([31mCONFIG_RTC_DRV_ARMADA38X[0m) += rtc-armada38x.o
obj-$([31mCONFIG_RTC_DRV_AS3722[0m) += rtc-as3722.o
obj-$([31mCONFIG_RTC_DRV_ASM9260[0m) += rtc-asm9260.o
obj-$([31mCONFIG_RTC_DRV_ASPEED[0m) += rtc-aspeed.o
obj-$([31mCONFIG_RTC_DRV_AT91RM9200[0m)+= rtc-at91rm9200.o
obj-$([31mCONFIG_RTC_DRV_AT91SAM9[0m) += rtc-at91sam9.o
obj-$([31mCONFIG_RTC_DRV_AU1XXX[0m) += rtc-au1xxx.o
obj-$([31mCONFIG_RTC_DRV_BD70528[0m) += rtc-bd70528.o
obj-$([31mCONFIG_RTC_DRV_BQ32K[0m) += rtc-bq32k.o
obj-$([31mCONFIG_RTC_DRV_BQ4802[0m) += rtc-bq4802.o
obj-$([31mCONFIG_RTC_DRV_BRCMSTB[0m) += rtc-brcmstb-waketimer.o
obj-$([31mCONFIG_RTC_DRV_CADENCE[0m) += rtc-cadence.o
obj-$([31mCONFIG_RTC_DRV_CMOS[0m) += rtc-cmos.o
obj-$([31mCONFIG_RTC_DRV_COH901331[0m) += rtc-coh901331.o
obj-$([31mCONFIG_RTC_DRV_CPCAP[0m) += rtc-cpcap.o
obj-$([31mCONFIG_RTC_DRV_CROS_EC[0m) += rtc-cros-ec.o
obj-$([31mCONFIG_RTC_DRV_DA9052[0m) += rtc-da9052.o
obj-$([31mCONFIG_RTC_DRV_DA9055[0m) += rtc-da9055.o
obj-$([31mCONFIG_RTC_DRV_DA9063[0m) += rtc-da9063.o
obj-$([31mCONFIG_RTC_DRV_DAVINCI[0m) += rtc-davinci.o
obj-$([31mCONFIG_RTC_DRV_DIGICOLOR[0m) += rtc-digicolor.o
obj-$([31mCONFIG_RTC_DRV_DM355EVM[0m) += rtc-dm355evm.o
obj-$([31mCONFIG_RTC_DRV_DS1216[0m) += rtc-ds1216.o
obj-$([31mCONFIG_RTC_DRV_DS1286[0m) += rtc-ds1286.o
obj-$([31mCONFIG_RTC_DRV_DS1302[0m) += rtc-ds1302.o
obj-$([31mCONFIG_RTC_DRV_DS1305[0m) += rtc-ds1305.o
obj-$([31mCONFIG_RTC_DRV_DS1307[0m) += rtc-ds1307.o
obj-$([31mCONFIG_RTC_DRV_DS1343[0m) += rtc-ds1343.o
obj-$([31mCONFIG_RTC_DRV_DS1347[0m) += rtc-ds1347.o
obj-$([31mCONFIG_RTC_DRV_DS1374[0m) += rtc-ds1374.o
obj-$([31mCONFIG_RTC_DRV_DS1390[0m) += rtc-ds1390.o
obj-$([31mCONFIG_RTC_DRV_DS1511[0m) += rtc-ds1511.o
obj-$([31mCONFIG_RTC_DRV_DS1553[0m) += rtc-ds1553.o
obj-$([31mCONFIG_RTC_DRV_DS1672[0m) += rtc-ds1672.o
obj-$([31mCONFIG_RTC_DRV_DS1685_FAMILY[0m) += rtc-ds1685.o
obj-$([31mCONFIG_RTC_DRV_DS1742[0m) += rtc-ds1742.o
obj-$([31mCONFIG_RTC_DRV_DS2404[0m) += rtc-ds2404.o
obj-$([31mCONFIG_RTC_DRV_DS3232[0m) += rtc-ds3232.o
obj-$([31mCONFIG_RTC_DRV_EFI[0m) += rtc-efi.o
obj-$([31mCONFIG_RTC_DRV_EM3027[0m) += rtc-em3027.o
obj-$([31mCONFIG_RTC_DRV_EP93XX[0m) += rtc-ep93xx.o
obj-$([31mCONFIG_RTC_DRV_FM3130[0m) += rtc-fm3130.o
obj-$([31mCONFIG_RTC_DRV_FSL_FTM_ALARM[0m) += rtc-fsl-ftm-alarm.o
obj-$([31mCONFIG_RTC_DRV_FTRTC010[0m) += rtc-ftrtc010.o
obj-$([31mCONFIG_RTC_DRV_GENERIC[0m) += rtc-generic.o
obj-$([31mCONFIG_RTC_DRV_GOLDFISH[0m) += rtc-goldfish.o
obj-$([31mCONFIG_RTC_DRV_HID_SENSOR_TIME[0m) += rtc-hid-sensor-time.o
obj-$([31mCONFIG_RTC_DRV_HYM8563[0m) += rtc-hym8563.o
obj-$([31mCONFIG_RTC_DRV_IMXDI[0m) += rtc-imxdi.o
obj-$([31mCONFIG_RTC_DRV_IMX_SC[0m) += rtc-imx-sc.o
obj-$([31mCONFIG_RTC_DRV_ISL12022[0m) += rtc-isl12022.o
obj-$([31mCONFIG_RTC_DRV_ISL12026[0m) += rtc-isl12026.o
obj-$([31mCONFIG_RTC_DRV_ISL1208[0m) += rtc-isl1208.o
obj-$([31mCONFIG_RTC_DRV_JZ4740[0m) += rtc-jz4740.o
obj-$([31mCONFIG_RTC_DRV_LOONGSON1[0m) += rtc-ls1x.o
obj-$([31mCONFIG_RTC_DRV_LP8788[0m) += rtc-lp8788.o
obj-$([31mCONFIG_RTC_DRV_LPC24XX[0m) += rtc-lpc24xx.o
obj-$([31mCONFIG_RTC_DRV_LPC32XX[0m) += rtc-lpc32xx.o
obj-$([31mCONFIG_RTC_DRV_M41T80[0m) += rtc-m41t80.o
obj-$([31mCONFIG_RTC_DRV_M41T93[0m) += rtc-m41t93.o
obj-$([31mCONFIG_RTC_DRV_M41T94[0m) += rtc-m41t94.o
obj-$([31mCONFIG_RTC_DRV_M48T35[0m) += rtc-m48t35.o
obj-$([31mCONFIG_RTC_DRV_M48T59[0m) += rtc-m48t59.o
obj-$([31mCONFIG_RTC_DRV_M48T86[0m) += rtc-m48t86.o
obj-$([31mCONFIG_RTC_DRV_MAX6900[0m) += rtc-max6900.o
obj-$([31mCONFIG_RTC_DRV_MAX6902[0m) += rtc-max6902.o
obj-$([31mCONFIG_RTC_DRV_MAX6916[0m) += rtc-max6916.o
obj-$([31mCONFIG_RTC_DRV_MAX77686[0m) += rtc-max77686.o
obj-$([31mCONFIG_RTC_DRV_MAX8907[0m) += rtc-max8907.o
obj-$([31mCONFIG_RTC_DRV_MAX8925[0m) += rtc-max8925.o
obj-$([31mCONFIG_RTC_DRV_MAX8997[0m) += rtc-max8997.o
obj-$([31mCONFIG_RTC_DRV_MAX8998[0m) += rtc-max8998.o
obj-$([31mCONFIG_RTC_DRV_MESON_VRTC[0m)+= rtc-meson-vrtc.o
obj-$([31mCONFIG_RTC_DRV_MC13XXX[0m) += rtc-mc13xxx.o
obj-$([31mCONFIG_RTC_DRV_MCP795[0m) += rtc-mcp795.o
obj-$([31mCONFIG_RTC_DRV_MESON[0m) += rtc-meson.o
obj-$([31mCONFIG_RTC_DRV_MOXART[0m) += rtc-moxart.o
obj-$([31mCONFIG_RTC_DRV_MPC5121[0m) += rtc-mpc5121.o
obj-$([31mCONFIG_RTC_DRV_MSM6242[0m) += rtc-msm6242.o
obj-$([31mCONFIG_RTC_DRV_MT6397[0m) += rtc-mt6397.o
obj-$([31mCONFIG_RTC_DRV_MT7622[0m) += rtc-mt7622.o
obj-$([31mCONFIG_RTC_DRV_MV[0m) += rtc-mv.o
obj-$([31mCONFIG_RTC_DRV_MXC[0m) += rtc-mxc.o
obj-$([31mCONFIG_RTC_DRV_MXC_V2[0m) += rtc-mxc_v2.o
obj-$([31mCONFIG_RTC_DRV_OMAP[0m) += rtc-omap.o
obj-$([31mCONFIG_RTC_DRV_OPAL[0m) += rtc-opal.o
obj-$([31mCONFIG_RTC_DRV_PALMAS[0m) += rtc-palmas.o
obj-$([31mCONFIG_RTC_DRV_PCAP[0m) += rtc-pcap.o
obj-$([31mCONFIG_RTC_DRV_PCF2123[0m) += rtc-pcf2123.o
obj-$([31mCONFIG_RTC_DRV_PCF2127[0m) += rtc-pcf2127.o
obj-$([31mCONFIG_RTC_DRV_PCF50633[0m) += rtc-pcf50633.o
obj-$([31mCONFIG_RTC_DRV_PCF85063[0m) += rtc-pcf85063.o
obj-$([31mCONFIG_RTC_DRV_PCF8523[0m) += rtc-pcf8523.o
obj-$([31mCONFIG_RTC_DRV_PCF85363[0m) += rtc-pcf85363.o
obj-$([31mCONFIG_RTC_DRV_PCF8563[0m) += rtc-pcf8563.o
obj-$([31mCONFIG_RTC_DRV_PCF8583[0m) += rtc-pcf8583.o
obj-$([31mCONFIG_RTC_DRV_PIC32[0m) += rtc-pic32.o
obj-$([31mCONFIG_RTC_DRV_PL030[0m) += rtc-pl030.o
obj-$([31mCONFIG_RTC_DRV_PL031[0m) += rtc-pl031.o
obj-$([31mCONFIG_RTC_DRV_PM8XXX[0m) += rtc-pm8xxx.o
obj-$([31mCONFIG_RTC_DRV_PS3[0m) += rtc-ps3.o
obj-$([31mCONFIG_RTC_DRV_PUV3[0m) += rtc-puv3.o
obj-$([31mCONFIG_RTC_DRV_PXA[0m) += rtc-pxa.o
obj-$([31mCONFIG_RTC_DRV_R7301[0m) += rtc-r7301.o
obj-$([31mCONFIG_RTC_DRV_R9701[0m) += rtc-r9701.o
obj-$([31mCONFIG_RTC_DRV_RC5T583[0m) += rtc-rc5t583.o
obj-$([31mCONFIG_RTC_DRV_RK808[0m) += rtc-rk808.o
obj-$([31mCONFIG_RTC_DRV_RP5C01[0m) += rtc-rp5c01.o
obj-$([31mCONFIG_RTC_DRV_RS5C313[0m) += rtc-rs5c313.o
obj-$([31mCONFIG_RTC_DRV_RS5C348[0m) += rtc-rs5c348.o
obj-$([31mCONFIG_RTC_DRV_RS5C372[0m) += rtc-rs5c372.o
obj-$([31mCONFIG_RTC_DRV_RTD119X[0m) += rtc-rtd119x.o
obj-$([31mCONFIG_RTC_DRV_RV3028[0m) += rtc-rv3028.o
obj-$([31mCONFIG_RTC_DRV_RV3029C2[0m) += rtc-rv3029c2.o
obj-$([31mCONFIG_RTC_DRV_RV8803[0m) += rtc-rv8803.o
obj-$([31mCONFIG_RTC_DRV_RX4581[0m) += rtc-rx4581.o
obj-$([31mCONFIG_RTC_DRV_RX6110[0m) += rtc-rx6110.o
obj-$([31mCONFIG_RTC_DRV_RX8010[0m) += rtc-rx8010.o
obj-$([31mCONFIG_RTC_DRV_RX8025[0m) += rtc-rx8025.o
obj-$([31mCONFIG_RTC_DRV_RX8581[0m) += rtc-rx8581.o
obj-$([31mCONFIG_RTC_DRV_S35390A[0m) += rtc-s35390a.o
obj-$([31mCONFIG_RTC_DRV_S3C[0m) += rtc-s3c.o
obj-$([31mCONFIG_RTC_DRV_S5M[0m) += rtc-s5m.o
obj-$([31mCONFIG_RTC_DRV_SA1100[0m) += rtc-sa1100.o
obj-$([31mCONFIG_RTC_DRV_SC27XX[0m) += rtc-sc27xx.o
obj-$([31mCONFIG_RTC_DRV_SD3078[0m) += rtc-sd3078.o
obj-$([31mCONFIG_RTC_DRV_SH[0m) += rtc-sh.o
obj-$([31mCONFIG_RTC_DRV_SIRFSOC[0m) += rtc-sirfsoc.o
obj-$([31mCONFIG_RTC_DRV_SNVS[0m) += rtc-snvs.o
obj-$([31mCONFIG_RTC_DRV_SPEAR[0m) += rtc-spear.o
obj-$([31mCONFIG_RTC_DRV_STARFIRE[0m) += rtc-starfire.o
obj-$([31mCONFIG_RTC_DRV_STK17TA8[0m) += rtc-stk17ta8.o
obj-$([31mCONFIG_RTC_DRV_ST_LPC[0m) += rtc-st-lpc.o
obj-$([31mCONFIG_RTC_DRV_STM32[0m) += rtc-stm32.o
obj-$([31mCONFIG_RTC_DRV_STMP[0m) += rtc-stmp3xxx.o
obj-$([31mCONFIG_RTC_DRV_SUN4V[0m) += rtc-sun4v.o
obj-$([31mCONFIG_RTC_DRV_SUN6I[0m) += rtc-sun6i.o
obj-$([31mCONFIG_RTC_DRV_SUNXI[0m) += rtc-sunxi.o
obj-$([31mCONFIG_RTC_DRV_TEGRA[0m) += rtc-tegra.o
obj-$([31mCONFIG_RTC_DRV_TEST[0m) += rtc-test.o
obj-$([31mCONFIG_RTC_DRV_TPS6586X[0m) += rtc-tps6586x.o
obj-$([31mCONFIG_RTC_DRV_TPS65910[0m) += rtc-tps65910.o
obj-$([31mCONFIG_RTC_DRV_TPS80031[0m) += rtc-tps80031.o
obj-$([31mCONFIG_RTC_DRV_TWL4030[0m) += rtc-twl.o
obj-$([31mCONFIG_RTC_DRV_TX4939[0m) += rtc-tx4939.o
obj-$([31mCONFIG_RTC_DRV_V3020[0m) += rtc-v3020.o
obj-$([31mCONFIG_RTC_DRV_VR41XX[0m) += rtc-vr41xx.o
obj-$([31mCONFIG_RTC_DRV_VRTC[0m) += rtc-mrst.o
obj-$([31mCONFIG_RTC_DRV_VT8500[0m) += rtc-vt8500.o
obj-$([31mCONFIG_RTC_DRV_WILCO_EC[0m) += rtc-wilco-ec.o
obj-$([31mCONFIG_RTC_DRV_WM831X[0m) += rtc-wm831x.o
obj-$([31mCONFIG_RTC_DRV_WM8350[0m) += rtc-wm8350.o
obj-$([31mCONFIG_RTC_DRV_X1205[0m) += rtc-x1205.o
obj-$([31mCONFIG_RTC_DRV_XGENE[0m) += rtc-xgene.o
obj-$([31mCONFIG_RTC_DRV_ZYNQMP[0m) += rtc-zynqmp.o