2019-06-26 23:17:18 +08:00
|
|
|
# Copyright (c) 2022 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if(CONFIG_RTIO)
|
2023-05-27 07:39:29 +08:00
|
|
|
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/rtio/rtio.h)
|
|
|
|
|
2019-06-26 23:17:18 +08:00
|
|
|
zephyr_library()
|
|
|
|
|
|
|
|
zephyr_include_directories(${ZEPHYR_BASE}/subsys/rtio)
|
|
|
|
|
2023-04-29 04:52:16 +08:00
|
|
|
zephyr_library_sources(rtio_executor.c)
|
|
|
|
zephyr_library_sources(rtio_init.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE rtio_handlers.c)
|
2019-06-26 23:17:18 +08:00
|
|
|
endif()
|
2024-06-20 05:22:47 +08:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_RTIO_WORKQ rtio_workq.c)
|