1# Copyright (c) 2022 Bjarki Arge Andreasen
2# SPDX-License-Identifier: Apache-2.0
3
4zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/rtc.h)
5
6zephyr_library()
7
8zephyr_library_sources_ifdef(CONFIG_RTC_AM1805 rtc_am1805.c)
9zephyr_library_sources_ifdef(CONFIG_RTC_DS1307 rtc_ds1307.c)
10zephyr_library_sources_ifdef(CONFIG_USERSPACE rtc_handlers.c)
11zephyr_library_sources_ifdef(CONFIG_RTC_EMUL rtc_emul.c)
12zephyr_library_sources_ifdef(CONFIG_RTC_PCF8523 rtc_pcf8523.c)
13zephyr_library_sources_ifdef(CONFIG_RTC_PCF8563 rtc_pcf8563.c)
14zephyr_library_sources_ifdef(CONFIG_RTC_MOTOROLA_MC146818 rtc_mc146818.c)
15zephyr_library_sources_ifdef(CONFIG_RTC_STM32 rtc_ll_stm32.c)
16zephyr_library_sources_ifdef(CONFIG_RTC_SHELL rtc_shell.c)
17zephyr_library_sources_ifdef(CONFIG_RTC_FAKE rtc_fake.c)
18zephyr_library_sources_ifdef(CONFIG_RTC_SMARTBOND rtc_smartbond.c)
19zephyr_library_sources_ifdef(CONFIG_RTC_ATMEL_SAM rtc_sam.c)
20