CMakeLists.txt 479 B

12345678910111213141516171819202122
  1. if(CONFIG_FAT_FILESYSTEM_ELM)
  2. add_library(ELMFAT INTERFACE)
  3. target_include_directories(ELMFAT INTERFACE include)
  4. zephyr_library()
  5. zephyr_library_sources(
  6. ff.c
  7. diskio.c
  8. )
  9. zephyr_library_sources_ifdef(CONFIG_DISKIO_CACHE
  10. diskio_cache.c
  11. )
  12. zephyr_library_sources_ifdef(CONFIG_FAT_FILESYSTEM_ELM
  13. option/unicode.c
  14. option/syscall.c
  15. )
  16. add_subdirectory(nls)
  17. zephyr_library_link_libraries(ELMFAT)
  18. target_link_libraries(ELMFAT INTERFACE zephyr_interface)
  19. endif()