zephyr: add fatfs as a module

Added module.yml file to make this a zephyr module.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-05-22 21:39:27 -04:00
parent 75d48a71ce
commit df96914dd9
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,5 @@
if(CONFIG_FAT_FILESYSTEM_ELM)
add_library(ELMFAT INTERFACE)
target_include_directories(ELMFAT INTERFACE include)
@ -9,3 +11,4 @@ zephyr_library_sources(
)
zephyr_library_link_libraries(ELMFAT)
target_link_libraries(ELMFAT INTERFACE zephyr_interface)
endif()

2
zephyr/module.yml Normal file
View File

@ -0,0 +1,2 @@
build:
cmake: .