add_subdirectory(crc) add_subdirectory_ifdef(CONFIG_JSON_LIBRARY json) if(NOT CONFIG_NATIVE_APPLICATION) add_subdirectory(libc) endif() add_subdirectory_if_kconfig(ring_buffer) add_subdirectory_if_kconfig(base64) add_subdirectory(mempool) add_subdirectory_ifdef(CONFIG_PTHREAD_IPC posix) add_subdirectory(rbtree)