From 8270444a4d5c1c58837d2f366817b0b81ccf5f25 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Mon, 30 Jun 2025 16:02:10 +0200 Subject: [PATCH] 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 --- subsys/fs/CMakeLists.txt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/subsys/fs/CMakeLists.txt b/subsys/fs/CMakeLists.txt index 48df605ae01..c80d24122aa 100644 --- a/subsys/fs/CMakeLists.txt +++ b/subsys/fs/CMakeLists.txt @@ -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()