mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 10:18:24 +08:00
c05a483ba4
In theory one may want to build the POSIX compability shim with a different C library than one provided with Zephyr, so let's not prevent it. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
22 lines
646 B
CMake
22 lines
646 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# FIXME: SHADOW_VARS: Remove this once we have enabled -Wshadow globally.
|
|
add_compile_options($<TARGET_PROPERTY:compiler,warning_shadow_variables>)
|
|
|
|
add_subdirectory(crc)
|
|
if(NOT CONFIG_EXTERNAL_LIBC)
|
|
add_subdirectory(libc)
|
|
endif()
|
|
if(NOT CONFIG_NATIVE_LIBC)
|
|
add_subdirectory(posix)
|
|
endif()
|
|
add_subdirectory_ifdef(CONFIG_CPP cpp)
|
|
add_subdirectory(hash)
|
|
add_subdirectory(heap)
|
|
add_subdirectory(mem_blocks)
|
|
add_subdirectory(os)
|
|
add_subdirectory(utils)
|
|
add_subdirectory_ifdef(CONFIG_SMF smf)
|
|
add_subdirectory_ifdef(CONFIG_OPENAMP open-amp)
|
|
add_subdirectory_ifdef(CONFIG_ACPI acpi)
|