2018-09-11 01:44:12 +00:00
|
|
|
set(COMPONENT_SRCS "vfs.c"
|
2019-02-19 19:50:18 +00:00
|
|
|
"vfs_uart.c"
|
|
|
|
"vfs_semihost.c")
|
2018-01-19 05:22:08 +00:00
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
2018-01-12 02:49:13 +00:00
|
|
|
register_component()
|
2019-04-15 03:45:08 +00:00
|
|
|
|
|
|
|
# Some newlib syscalls are implemented in vfs.c, make sure these are always
|
|
|
|
# seen by the linker
|
2019-06-04 11:05:33 +00:00
|
|
|
target_link_libraries(${COMPONENT_LIB} INTERFACE "-u vfs_include_syscalls_impl")
|