feat: Kconfig: collecting some config to sub-menu

To improve the readability of the menuconfig.

Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
Shell 2024-11-18 16:55:39 +08:00
parent ad2241730d
commit 42468a3af5
1 changed files with 7 additions and 5 deletions

View File

@ -162,14 +162,16 @@ endif
bool "Using devfs for device objects"
default y
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