subsys/fs/fuse_fs_access: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not need to support it in this driver cmake files. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
7e1f2ffe00
commit
8270444a4d
@ -34,14 +34,8 @@ if(CONFIG_FUSE_FS_ACCESS)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_search_module(FUSE REQUIRED fuse)
|
||||
zephyr_include_directories(${FUSE_INCLUDE_DIRS})
|
||||
if (CONFIG_NATIVE_LIBRARY)
|
||||
target_link_options(native_simulator INTERFACE "-l${FUSE_LIBRARIES}")
|
||||
target_sources(native_simulator INTERFACE fuse_fs_access_bottom.c)
|
||||
target_compile_options(native_simulator INTERFACE "-D_FILE_OFFSET_BITS=64")
|
||||
else()
|
||||
zephyr_link_libraries(${FUSE_LIBRARIES})
|
||||
zephyr_library_sources(fuse_fs_access_bottom.c)
|
||||
zephyr_library_compile_definitions(_FILE_OFFSET_BITS=64)
|
||||
endif()
|
||||
target_link_options(native_simulator INTERFACE "-l${FUSE_LIBRARIES}")
|
||||
target_sources(native_simulator INTERFACE fuse_fs_access_bottom.c)
|
||||
target_compile_options(native_simulator INTERFACE "-D_FILE_OFFSET_BITS=64")
|
||||
zephyr_library_sources(fuse_fs_access.c)
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user