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:
Alberto Escolar Piedras 2025-06-30 16:02:10 +02:00 committed by Alberto Escolar
parent 7e1f2ffe00
commit 8270444a4d

View File

@ -34,14 +34,8 @@ if(CONFIG_FUSE_FS_ACCESS)
find_package(PkgConfig REQUIRED) find_package(PkgConfig REQUIRED)
pkg_search_module(FUSE REQUIRED fuse) pkg_search_module(FUSE REQUIRED fuse)
zephyr_include_directories(${FUSE_INCLUDE_DIRS}) zephyr_include_directories(${FUSE_INCLUDE_DIRS})
if (CONFIG_NATIVE_LIBRARY) target_link_options(native_simulator INTERFACE "-l${FUSE_LIBRARIES}")
target_link_options(native_simulator INTERFACE "-l${FUSE_LIBRARIES}") target_sources(native_simulator INTERFACE fuse_fs_access_bottom.c)
target_sources(native_simulator INTERFACE fuse_fs_access_bottom.c) target_compile_options(native_simulator INTERFACE "-D_FILE_OFFSET_BITS=64")
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()
zephyr_library_sources(fuse_fs_access.c) zephyr_library_sources(fuse_fs_access.c)
endif() endif()