mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 10:32:35 +00:00
This is consistent with how newlib headers are treated, and will have effect of ninlibc headers to be further down in the include order. This is important, because some POSIX subsys headers override those of libc. Without this change, we can't streamline POSIX build config using zephyr_interface_library_named() cmake directive, because includes will be in wrong order. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
23 lines
509 B
CMake
23 lines
509 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_system_include_directories(include)
|
|
|
|
zephyr_library()
|
|
zephyr_library_sources(
|
|
source/stdlib/atoi.c
|
|
source/stdlib/strtol.c
|
|
source/stdlib/strtoul.c
|
|
source/stdlib/malloc.c
|
|
source/stdlib/bsearch.c
|
|
source/stdlib/exit.c
|
|
source/string/strncasecmp.c
|
|
source/string/strstr.c
|
|
source/string/string.c
|
|
source/string/strspn.c
|
|
source/stdout/prf.c
|
|
source/stdout/stdout_console.c
|
|
source/stdout/sprintf.c
|
|
source/stdout/fprintf.c
|
|
source/time/gmtime.c
|
|
)
|