zephyr/subsys/rtio/CMakeLists.txt
Daniel Leung c1d9dc4f18 rtio: syscalls: use zephyr_syscall_header
This adds a few line use zephyr_syscall_header() to include
headers containing syscall function prototypes.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-06-17 07:57:45 -04:00

15 lines
387 B
CMake

# Copyright (c) 2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_RTIO)
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/rtio/rtio.h)
zephyr_library()
zephyr_include_directories(${ZEPHYR_BASE}/subsys/rtio)
zephyr_library_sources(rtio_executor.c)
zephyr_library_sources(rtio_init.c)
zephyr_library_sources_ifdef(CONFIG_USERSPACE rtio_handlers.c)
endif()