mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(storage/stdio): Refactor stdio_vfs multiplexer
This commit is contained in:
@@ -7,7 +7,6 @@ if(non_os_build)
|
||||
idf_component_register()
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(srcs)
|
||||
set(includes)
|
||||
|
||||
@@ -18,10 +17,13 @@ if(${target} STREQUAL "linux")
|
||||
"linux/include")
|
||||
else()
|
||||
list(APPEND srcs "stdio_port.c"
|
||||
"stdio_vfs.c"
|
||||
"stdio_simple.c"
|
||||
"stdio_syscalls_simple.c")
|
||||
list(APPEND includes "include")
|
||||
|
||||
if(CONFIG_VFS_SUPPORT_IO)
|
||||
list(APPEND srcs "stdio_vfs.c")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
|
||||
Reference in New Issue
Block a user