Skip to content

Commit a514b3b

Browse files
authored
[components][kconfig] 整理Kconfig目录名称和结构 (#5698)
1 parent 851d16b commit a514b3b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+32
-58
lines changed

components/Kconfig

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,14 @@ config RT_USING_LEGACY
2323
bool "Support legacy version for compatibility"
2424
default n
2525

26-
source "$RTT_DIR/components/cplusplus/Kconfig"
27-
28-
source "$RTT_DIR/components/fal/Kconfig"
29-
3026
source "$RTT_DIR/components/finsh/Kconfig"
31-
3227
source "$RTT_DIR/components/dfs/Kconfig"
33-
28+
source "$RTT_DIR/components/fal/Kconfig"
29+
source "$RTT_DIR/components/lwp/Kconfig"
3430
source "$RTT_DIR/components/drivers/Kconfig"
35-
3631
source "$RTT_DIR/components/libc/Kconfig"
37-
3832
source "$RTT_DIR/components/net/Kconfig"
39-
40-
source "$RTT_DIR/components/vbus/Kconfig"
41-
4233
source "$RTT_DIR/components/utilities/Kconfig"
43-
44-
source "$RTT_DIR/components/lwp/Kconfig"
34+
source "$RTT_DIR/components/vbus/Kconfig"
4535

4636
endmenu

components/dfs/Kconfig

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
menu "Device virtual file system"
2-
3-
config RT_USING_DFS
4-
bool "Using device virtual file system"
1+
menuconfig RT_USING_DFS
2+
bool "DFS: device virtual file system"
53
select RT_USING_MUTEX
64
default y
75
help
@@ -160,5 +158,3 @@ if RT_USING_DFS
160158
endif
161159

162160
endif
163-
164-
endmenu

components/fal/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# Kconfig file for package fal
33
menuconfig RT_USING_FAL
4-
bool "fal: Flash Abstraction Layer implement. Manage flash device and partition."
4+
bool "FAL: flash abstraction layer"
55
default n
66

77
if RT_USING_FAL

components/finsh/Kconfig

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1-
menu "Command shell"
2-
3-
config RT_USING_FINSH
4-
bool
5-
default n
6-
7-
config RT_USING_MSH
8-
bool "msh shell"
9-
select RT_USING_FINSH
1+
menuconfig RT_USING_MSH
2+
bool "MSH: command shell"
103
default y
114

125
if RT_USING_MSH
136

7+
config RT_USING_FINSH
8+
bool
9+
default y
10+
1411
config FINSH_USING_MSH
1512
bool
1613
default y
@@ -80,5 +77,3 @@ if RT_USING_MSH
8077
default 10
8178

8279
endif
83-
84-
endmenu

components/libc/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
menu "POSIX layer and C standard library"
1+
menu "C/C++ and POSIX layer"
22

33
config RT_LIBC_DEFAULT_TIMEZONE
44
int "Set the default time zone (UTC+)"
55
range -12 12
66
default 8
77

88
source "$RTT_DIR/components/libc/posix/Kconfig"
9+
source "$RTT_DIR/components/libc/cplusplus/Kconfig"
910

1011
endmenu
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
menu "C++ features"
2-
3-
config RT_USING_CPLUSPLUS
4-
bool "Support C++ features"
1+
menuconfig RT_USING_CPLUSPLUS
2+
bool "Enable C++ features"
53
default n
64

75
if RT_USING_CPLUSPLUS
@@ -15,5 +13,3 @@ if RT_USING_CPLUSPLUS
1513
select RT_USING_RTC
1614

1715
endif
18-
19-
endmenu

0 commit comments

Comments
 (0)