2017-12-13 22:53:20 +08:00
|
|
|
if(CONFIG_FILE_SYSTEM)
|
|
|
|
zephyr_link_interface_ifdef(CONFIG_FAT_FILESYSTEM_ELM ELMFAT)
|
|
|
|
zephyr_link_interface_ifdef(CONFIG_FILE_SYSTEM_NFFS NFFS)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
2017-12-13 22:53:20 +08:00
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_FAT_FILESYSTEM_ELM fat_fs.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_FILE_SYSTEM_NFFS nffs_fs.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_FILE_SYSTEM_SHELL shell.c)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
2017-12-13 22:53:20 +08:00
|
|
|
zephyr_library_link_libraries_ifdef(CONFIG_FAT_FILESYSTEM_ELM ELMFAT)
|
|
|
|
zephyr_library_link_libraries_ifdef(CONFIG_FILE_SYSTEM_NFFS NFFS)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory_ifdef(CONFIG_FCB ./fcb)
|