Skip to content

Commit 6c6c5f5

Browse files
polarvidRbb666
authored andcommitted
feat: Kconfig: collecting some config to sub-menu
To improve the readability of the menuconfig. Signed-off-by: Shell <[email protected]>
1 parent 8507c38 commit 6c6c5f5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

components/dfs/Kconfig

+7-5
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,16 @@ if RT_USING_DFS_V1
169169
default n
170170
endif
171171

172-
config RT_USING_DFS_ROMFS
172+
menuconfig RT_USING_DFS_ROMFS
173173
bool "Enable ReadOnly file system on flash"
174174
default n
175175

176-
config RT_USING_DFS_ROMFS_USER_ROOT
177-
bool "Use user's romfs root"
178-
depends on RT_USING_DFS_ROMFS
179-
default n
176+
if RT_USING_DFS_ROMFS
177+
config RT_USING_DFS_ROMFS_USER_ROOT
178+
bool "Use user's romfs root"
179+
depends on RT_USING_DFS_V1
180+
default n
181+
endif
180182

181183
if RT_USING_SMART
182184
config RT_USING_DFS_PTYFS

0 commit comments

Comments
 (0)