This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 8dfa68f4d75f4f2e449e3aafa10313086f7864a0
Author: zhengyu16 <[email protected]>
AuthorDate: Tue Sep 16 21:31:57 2025 +0800

    fs/zipfs: modify config related to zipfs
    
    FS_ZIPFS reads zip files with libarchive, so make it depend on
    UTILS_LIBARCHIVE, and enable UTILS_LIBARCHIVE in the sim:zipfs 
configuration.
    
    Assisted-by: Claude Code:claude-sonnet-5.5
    Signed-off-by: zhengyu16 <[email protected]>
    Signed-off-by: tengshuangshuang <[email protected]>
---
 boards/sim/sim/sim/configs/zipfs/defconfig | 1 +
 fs/zipfs/Kconfig                           | 1 +
 2 files changed, 2 insertions(+)

diff --git a/boards/sim/sim/sim/configs/zipfs/defconfig 
b/boards/sim/sim/sim/configs/zipfs/defconfig
index c3ce75a366b..bf165615ffe 100644
--- a/boards/sim/sim/sim/configs/zipfs/defconfig
+++ b/boards/sim/sim/sim/configs/zipfs/defconfig
@@ -71,5 +71,6 @@ CONFIG_START_YEAR=2008
 CONFIG_SYSTEM_DUMPSTACK=y
 CONFIG_SYSTEM_NSH=y
 CONFIG_SYSTEM_NXINIT=y
+CONFIG_UTILS_LIBARCHIVE=y
 CONFIG_UTILS_UNZIP=y
 CONFIG_UTILS_ZIP=y
diff --git a/fs/zipfs/Kconfig b/fs/zipfs/Kconfig
index a5b57240972..c23a677671c 100644
--- a/fs/zipfs/Kconfig
+++ b/fs/zipfs/Kconfig
@@ -26,6 +26,7 @@
 
 config FS_ZIPFS
        bool "ZIP File System"
+       depends on UTILS_LIBARCHIVE
        default n
 
 if FS_ZIPFS

Reply via email to