summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorlatercomer <[email protected]>2024-06-11 12:13:25 +0800
committerRbb666 <[email protected]>2024-06-20 14:40:42 +0800
commitd58c29d23e403ef124cf8f9e460e6bd35f5a1aeb (patch)
tree122a239eae21a48b0c46b714c9fd3a61278d8009 /components
parent59193dfeeb25a781288ef242d2dcc9e67925b064 (diff)
除了bsp之外的Kconfig使用rsource替代source
Diffstat (limited to 'components')
-rw-r--r--components/Kconfig24
-rw-r--r--components/libc/Kconfig6
-rw-r--r--components/libc/posix/Kconfig2
-rw-r--r--components/lwp/Kconfig2
-rw-r--r--components/net/Kconfig8
-rw-r--r--components/utilities/Kconfig4
6 files changed, 23 insertions, 23 deletions
diff --git a/components/Kconfig b/components/Kconfig
index d3f2eef779..c9de0f55a0 100644
--- a/components/Kconfig
+++ b/components/Kconfig
@@ -26,25 +26,25 @@ config RT_USING_LEGACY
default n
if RT_USING_CONSOLE
-source "$RTT_DIR/components/finsh/Kconfig"
+rsource "finsh/Kconfig"
endif
if !RT_USING_NANO
-source "$RTT_DIR/components/dfs/Kconfig"
-source "$RTT_DIR/components/fal/Kconfig"
-source "$RTT_DIR/components/drivers/Kconfig"
-source "$RTT_DIR/components/libc/Kconfig"
-source "$RTT_DIR/components/net/Kconfig"
-source "$RTT_DIR/components/mprotect/Kconfig"
-source "$RTT_DIR/components/utilities/Kconfig"
-source "$RTT_DIR/components/vbus/Kconfig"
+rsource "dfs/Kconfig"
+rsource "fal/Kconfig"
+rsource "drivers/Kconfig"
+rsource "libc/Kconfig"
+rsource "net/Kconfig"
+rsource "mprotect/Kconfig"
+rsource "utilities/Kconfig"
+rsource "vbus/Kconfig"
endif
if RT_USING_SMART
-source "$RTT_DIR/components/lwp/Kconfig"
-source "$RTT_DIR/components/mm/Kconfig"
+rsource "lwp/Kconfig"
+rsource "mm/Kconfig"
endif
-source "$RTT_DIR/components/legacy/Kconfig"
+rsource "legacy/Kconfig"
endmenu
diff --git a/components/libc/Kconfig b/components/libc/Kconfig
index 7cdee9040f..f25104d8af 100644
--- a/components/libc/Kconfig
+++ b/components/libc/Kconfig
@@ -9,8 +9,8 @@ config RT_USING_EXTERNAL_LIBC
RT_USING_EXTERNAL_LIBC in software package's Kconfig
This option is not available for users to select.
-source "$RTT_DIR/components/libc/compilers/common/Kconfig"
-source "$RTT_DIR/components/libc/posix/Kconfig"
-source "$RTT_DIR/components/libc/cplusplus/Kconfig"
+rsource "compilers/common/Kconfig"
+rsource "posix/Kconfig"
+rsource "cplusplus/Kconfig"
endmenu
diff --git a/components/libc/posix/Kconfig b/components/libc/posix/Kconfig
index 7d6539234f..8a4a3843cb 100644
--- a/components/libc/posix/Kconfig
+++ b/components/libc/posix/Kconfig
@@ -115,6 +115,6 @@ if RT_USING_MODULE
default n
endif
-source "$RTT_DIR/components/libc/posix/ipc/Kconfig"
+rsource "ipc/Kconfig"
endmenu
diff --git a/components/lwp/Kconfig b/components/lwp/Kconfig
index b42dfa585d..969a9bd000 100644
--- a/components/lwp/Kconfig
+++ b/components/lwp/Kconfig
@@ -74,6 +74,6 @@ if RT_USING_LWP
default n
endif
-source "$RTT_DIR/components/lwp/terminal/Kconfig"
+rsource "terminal/Kconfig"
endif
diff --git a/components/net/Kconfig b/components/net/Kconfig
index a03703e47b..7dfd1b101b 100644
--- a/components/net/Kconfig
+++ b/components/net/Kconfig
@@ -1,8 +1,8 @@
menu "Network"
-source "$RTT_DIR/components/net/sal/Kconfig"
-source "$RTT_DIR/components/net/netdev/Kconfig"
-source "$RTT_DIR/components/net/lwip/Kconfig"
-source "$RTT_DIR/components/net/at/Kconfig"
+rsource "sal/Kconfig"
+rsource "netdev/Kconfig"
+rsource "lwip/Kconfig"
+rsource "at/Kconfig"
endmenu
diff --git a/components/utilities/Kconfig b/components/utilities/Kconfig
index 1ddbdfc3ea..b64b319360 100644
--- a/components/utilities/Kconfig
+++ b/components/utilities/Kconfig
@@ -220,7 +220,7 @@ config RT_USING_RESOURCE_ID
bool "Enable resource id"
default n
-source "$RTT_DIR/components/utilities/libadt/Kconfig"
-source "$RTT_DIR/components/utilities/rt-link/Kconfig"
+rsource "libadt/Kconfig"
+rsource "rt-link/Kconfig"
endmenu