lib: 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>
This commit is contained in:
Daniel Leung 2023-03-13 14:47:23 -07:00 committed by Anas Nashif
parent e734911c96
commit 1d4d718a9b
3 changed files with 11 additions and 0 deletions

View file

@ -1,5 +1,9 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_syscall_header(
${ZEPHYR_BASE}/include/zephyr/sys/libc-hooks.h
)
add_subdirectory_ifdef(CONFIG_ARCMWDT_LIBC arcmwdt)
add_subdirectory_ifdef(CONFIG_ARMCLANG_STD_LIBC armstdc)
add_subdirectory_ifdef(CONFIG_MINIMAL_LIBC minimal)

View file

@ -1,5 +1,9 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_syscall_header(
${ZEPHYR_BASE}/include/zephyr/sys/mutex.h
)
zephyr_sources_ifdef(CONFIG_BASE64 base64.c)
zephyr_sources(

View file

@ -1,5 +1,8 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_syscall_header(
${ZEPHYR_BASE}/include/zephyr/posix/time.h
)
zephyr_interface_library_named(posix_subsys)