c1d9dc4f18
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>
15 lines
387 B
CMake
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()
|