Skip to content

Commit 42468a3

Browse files
committed
feat: Kconfig: collecting some config to sub-menu
To improve the readability of the menuconfig. Signed-off-by: Shell <[email protected]>
1 parent ad22417 commit 42468a3

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

components/dfs/Kconfig

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,16 @@ endif
162162
bool "Using devfs for device objects"
163163
default y
164164

165-
config RT_USING_DFS_ROMFS
165+
menuconfig RT_USING_DFS_ROMFS
166166
bool "Enable ReadOnly file system on flash"
167167
default n
168168

169-
config RT_USING_DFS_ROMFS_USER_ROOT
170-
bool "Use user's romfs root"
171-
depends on RT_USING_DFS_ROMFS
172-
default n
169+
if RT_USING_DFS_ROMFS
170+
config RT_USING_DFS_ROMFS_USER_ROOT
171+
bool "Use user's romfs root"
172+
depends on RT_USING_DFS_V1
173+
default n
174+
endif
173175

174176
if RT_USING_SMART
175177
config RT_USING_DFS_PTYFS

0 commit comments

Comments
 (0)