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:
parent
e734911c96
commit
1d4d718a9b
|
@ -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)
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue