diff options
| author | Shell <[email protected]> | 2024-11-18 16:55:39 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-01-06 19:34:16 +0800 |
| commit | 6c6c5f5d35de17a8cb60769d7ff11c124bc18df8 (patch) | |
| tree | 81a951de5a52618c7971578d9961900a0f651a2a | |
| parent | 8507c38222d6a47818c2fa8693a1b0e3aecabf11 (diff) | |
feat: Kconfig: collecting some config to sub-menu
To improve the readability of the menuconfig.
Signed-off-by: Shell <[email protected]>
| -rw-r--r-- | components/dfs/Kconfig | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/components/dfs/Kconfig b/components/dfs/Kconfig index 61453895c9..2c7ae22267 100644 --- a/components/dfs/Kconfig +++ b/components/dfs/Kconfig @@ -169,14 +169,16 @@ if RT_USING_DFS_V1 default n endif - config RT_USING_DFS_ROMFS + menuconfig RT_USING_DFS_ROMFS bool "Enable ReadOnly file system on flash" default n - config RT_USING_DFS_ROMFS_USER_ROOT - bool "Use user's romfs root" - depends on RT_USING_DFS_ROMFS - default n + if RT_USING_DFS_ROMFS + config RT_USING_DFS_ROMFS_USER_ROOT + bool "Use user's romfs root" + depends on RT_USING_DFS_V1 + default n + endif if RT_USING_SMART config RT_USING_DFS_PTYFS |
