summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuChenger <[email protected]>2025-11-13 13:36:10 +0800
committerR b b666 <[email protected]>2025-11-13 18:44:24 +0800
commit8286196d9ff01fa62987a688bd6c98ec35a83b6d (patch)
tree044fb8a0d8bc60b56b7d4b7b2d573883e2b3f334
parentec5e72c59aa9b64ddc1e8264d641c4daa46b41b8 (diff)
[bsp/xuantie][fix] 修正Bsp Kconfig配置
-rw-r--r--bsp/xuantie/smartl/e902/Kconfig25
-rw-r--r--bsp/xuantie/smartl/e906/Kconfig25
-rw-r--r--bsp/xuantie/smartl/e907/Kconfig25
-rw-r--r--bsp/xuantie/xiaohui/c906/Kconfig25
-rw-r--r--bsp/xuantie/xiaohui/c907/Kconfig25
-rw-r--r--bsp/xuantie/xiaohui/c908/Kconfig25
-rw-r--r--bsp/xuantie/xiaohui/c910/Kconfig25
-rw-r--r--bsp/xuantie/xiaohui/r908/Kconfig25
-rw-r--r--bsp/xuantie/xiaohui/r910/Kconfig25
-rw-r--r--bsp/xuantie/xiaohui/r920/Kconfig25
10 files changed, 40 insertions, 210 deletions
diff --git a/bsp/xuantie/smartl/e902/Kconfig b/bsp/xuantie/smartl/e902/Kconfig
index 8680668cf0..9474632ffc 100644
--- a/bsp/xuantie/smartl/e902/Kconfig
+++ b/bsp/xuantie/smartl/e902/Kconfig
@@ -1,27 +1,10 @@
mainmenu "RT-Thread Configuration"
-config BSP_DIR
- string
- option env="BSP_ROOT"
- default "."
+BSP_DIR := .
-config RTT_DIR
- string
- option env="RTT_ROOT"
- default "rt-thread"
+RTT_DIR := ../../../../
-# you can change the RTT_ROOT default "rt-thread"
-# example : default "F:/git_repositories/rt-thread"
-
-config PKGS_DIR
- string
- option env="PKGS_ROOT"
- default "packages"
-
-config ENV_DIR
- string
- option env="ENV_ROOT"
- default "/"
+PKGS_DIR := packages
config XUANTIAN_SMARTL_E902
bool
@@ -30,6 +13,6 @@ config XUANTIAN_SMARTL_E902
select RT_USING_USER_MAIN
default y
-source "$RTT_DIR/Kconfig"
+source "$(RTT_DIR)/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/smartl/e906/Kconfig b/bsp/xuantie/smartl/e906/Kconfig
index 8fe8e876e9..feecd060a2 100644
--- a/bsp/xuantie/smartl/e906/Kconfig
+++ b/bsp/xuantie/smartl/e906/Kconfig
@@ -1,27 +1,10 @@
mainmenu "RT-Thread Configuration"
-config BSP_DIR
- string
- option env="BSP_ROOT"
- default "."
+BSP_DIR := .
-config RTT_DIR
- string
- option env="RTT_ROOT"
- default "rt-thread"
+RTT_DIR := ../../../../
-# you can change the RTT_ROOT default "rt-thread"
-# example : default "F:/git_repositories/rt-thread"
-
-config PKGS_DIR
- string
- option env="PKGS_ROOT"
- default "packages"
-
-config ENV_DIR
- string
- option env="ENV_ROOT"
- default "/"
+PKGS_DIR := packages
config XUANTIAN_SMARTL_E906
bool
@@ -30,6 +13,6 @@ config XUANTIAN_SMARTL_E906
select RT_USING_USER_MAIN
default y
-source "$RTT_DIR/Kconfig"
+source "$(RTT_DIR)/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/smartl/e907/Kconfig b/bsp/xuantie/smartl/e907/Kconfig
index a7754dca2e..3ed73c8894 100644
--- a/bsp/xuantie/smartl/e907/Kconfig
+++ b/bsp/xuantie/smartl/e907/Kconfig
@@ -1,27 +1,10 @@
mainmenu "RT-Thread Configuration"
-config BSP_DIR
- string
- option env="BSP_ROOT"
- default "."
+BSP_DIR := .
-config RTT_DIR
- string
- option env="RTT_ROOT"
- default "rt-thread"
+RTT_DIR := ../../../../
-# you can change the RTT_ROOT default "rt-thread"
-# example : default "F:/git_repositories/rt-thread"
-
-config PKGS_DIR
- string
- option env="PKGS_ROOT"
- default "packages"
-
-config ENV_DIR
- string
- option env="ENV_ROOT"
- default "/"
+PKGS_DIR := packages
config XUANTIAN_SMARTL_E907
bool
@@ -30,6 +13,6 @@ config XUANTIAN_SMARTL_E907
select RT_USING_USER_MAIN
default y
-source "$RTT_DIR/Kconfig"
+source "$(RTT_DIR)/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/c906/Kconfig b/bsp/xuantie/xiaohui/c906/Kconfig
index e655475423..593b172306 100644
--- a/bsp/xuantie/xiaohui/c906/Kconfig
+++ b/bsp/xuantie/xiaohui/c906/Kconfig
@@ -1,27 +1,10 @@
mainmenu "RT-Thread Configuration"
-config BSP_DIR
- string
- option env="BSP_ROOT"
- default "."
+BSP_DIR := .
-config RTT_DIR
- string
- option env="RTT_ROOT"
- default "rt-thread"
+RTT_DIR := ../../../../
-# you can change the RTT_ROOT default "rt-thread"
-# example : default "F:/git_repositories/rt-thread"
-
-config PKGS_DIR
- string
- option env="PKGS_ROOT"
- default "packages"
-
-config ENV_DIR
- string
- option env="ENV_ROOT"
- default "/"
+PKGS_DIR := packages
config XUANTIAN_XIAOHUI_C906
bool
@@ -30,6 +13,6 @@ config ENV_DIR
select RT_USING_USER_MAIN
default y
-source "$RTT_DIR/Kconfig"
+source "$(RTT_DIR)/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/c907/Kconfig b/bsp/xuantie/xiaohui/c907/Kconfig
index 7986b1ff29..0fc0c1d78f 100644
--- a/bsp/xuantie/xiaohui/c907/Kconfig
+++ b/bsp/xuantie/xiaohui/c907/Kconfig
@@ -1,27 +1,10 @@
mainmenu "RT-Thread Configuration"
-config BSP_DIR
- string
- option env="BSP_ROOT"
- default "."
+BSP_DIR := .
-config RTT_DIR
- string
- option env="RTT_ROOT"
- default "rt-thread"
+RTT_DIR := ../../../../
-# you can change the RTT_ROOT default "rt-thread"
-# example : default "F:/git_repositories/rt-thread"
-
-config PKGS_DIR
- string
- option env="PKGS_ROOT"
- default "packages"
-
-config ENV_DIR
- string
- option env="ENV_ROOT"
- default "/"
+PKGS_DIR := packages
config XUANTIAN_XIAOHUI_C907
bool
@@ -30,6 +13,6 @@ config ENV_DIR
select RT_USING_USER_MAIN
default y
-source "$RTT_DIR/Kconfig"
+source "$(RTT_DIR)/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/c908/Kconfig b/bsp/xuantie/xiaohui/c908/Kconfig
index 99c62ff7da..bdff90abde 100644
--- a/bsp/xuantie/xiaohui/c908/Kconfig
+++ b/bsp/xuantie/xiaohui/c908/Kconfig
@@ -1,27 +1,10 @@
mainmenu "RT-Thread Configuration"
-config BSP_DIR
- string
- option env="BSP_ROOT"
- default "."
+BSP_DIR := .
-config RTT_DIR
- string
- option env="RTT_ROOT"
- default "rt-thread"
+RTT_DIR := ../../../../
-# you can change the RTT_ROOT default "rt-thread"
-# example : default "F:/git_repositories/rt-thread"
-
-config PKGS_DIR
- string
- option env="PKGS_ROOT"
- default "packages"
-
-config ENV_DIR
- string
- option env="ENV_ROOT"
- default "/"
+PKGS_DIR := packages
config XUANTIAN_XIAOHUI_C908
bool
@@ -30,6 +13,6 @@ config ENV_DIR
select RT_USING_USER_MAIN
default y
-source "$RTT_DIR/Kconfig"
+source "$(RTT_DIR)/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/c910/Kconfig b/bsp/xuantie/xiaohui/c910/Kconfig
index 6b85ddc449..29cb077c2a 100644
--- a/bsp/xuantie/xiaohui/c910/Kconfig
+++ b/bsp/xuantie/xiaohui/c910/Kconfig
@@ -1,27 +1,10 @@
mainmenu "RT-Thread Configuration"
-config BSP_DIR
- string
- option env="BSP_ROOT"
- default "."
+BSP_DIR := .
-config RTT_DIR
- string
- option env="RTT_ROOT"
- default "rt-thread"
+RTT_DIR := ../../../../
-# you can change the RTT_ROOT default "rt-thread"
-# example : default "F:/git_repositories/rt-thread"
-
-config PKGS_DIR
- string
- option env="PKGS_ROOT"
- default "packages"
-
-config ENV_DIR
- string
- option env="ENV_ROOT"
- default "/"
+PKGS_DIR := packages
config XUANTIAN_XIAOHUI_C910
bool
@@ -30,6 +13,6 @@ config ENV_DIR
select RT_USING_USER_MAIN
default y
-source "$RTT_DIR/Kconfig"
+source "$(RTT_DIR)/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/r908/Kconfig b/bsp/xuantie/xiaohui/r908/Kconfig
index 41a6fba7cb..4527cb4326 100644
--- a/bsp/xuantie/xiaohui/r908/Kconfig
+++ b/bsp/xuantie/xiaohui/r908/Kconfig
@@ -1,27 +1,10 @@
mainmenu "RT-Thread Configuration"
-config BSP_DIR
- string
- option env="BSP_ROOT"
- default "."
+BSP_DIR := .
-config RTT_DIR
- string
- option env="RTT_ROOT"
- default "rt-thread"
+RTT_DIR := ../../../../
-# you can change the RTT_ROOT default "rt-thread"
-# example : default "F:/git_repositories/rt-thread"
-
-config PKGS_DIR
- string
- option env="PKGS_ROOT"
- default "packages"
-
-config ENV_DIR
- string
- option env="ENV_ROOT"
- default "/"
+PKGS_DIR := packages
config XUANTIAN_XIAOHUI_R908
bool
@@ -30,6 +13,6 @@ config ENV_DIR
select RT_USING_USER_MAIN
default y
-source "$RTT_DIR/Kconfig"
+source "$(RTT_DIR)/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/r910/Kconfig b/bsp/xuantie/xiaohui/r910/Kconfig
index 6f263e0019..88d47ae1f8 100644
--- a/bsp/xuantie/xiaohui/r910/Kconfig
+++ b/bsp/xuantie/xiaohui/r910/Kconfig
@@ -1,27 +1,10 @@
mainmenu "RT-Thread Configuration"
-config BSP_DIR
- string
- option env="BSP_ROOT"
- default "."
+BSP_DIR := .
-config RTT_DIR
- string
- option env="RTT_ROOT"
- default "rt-thread"
+RTT_DIR := ../../../../
-# you can change the RTT_ROOT default "rt-thread"
-# example : default "F:/git_repositories/rt-thread"
-
-config PKGS_DIR
- string
- option env="PKGS_ROOT"
- default "packages"
-
-config ENV_DIR
- string
- option env="ENV_ROOT"
- default "/"
+PKGS_DIR := packages
config XUANTIAN_XIAOHUI_R910
bool
@@ -30,6 +13,6 @@ config ENV_DIR
select RT_USING_USER_MAIN
default y
-source "$RTT_DIR/Kconfig"
+source "$(RTT_DIR)/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/r920/Kconfig b/bsp/xuantie/xiaohui/r920/Kconfig
index 7464b3e434..6ccc0d96c0 100644
--- a/bsp/xuantie/xiaohui/r920/Kconfig
+++ b/bsp/xuantie/xiaohui/r920/Kconfig
@@ -1,27 +1,10 @@
mainmenu "RT-Thread Configuration"
-config BSP_DIR
- string
- option env="BSP_ROOT"
- default "."
+BSP_DIR := .
-config RTT_DIR
- string
- option env="RTT_ROOT"
- default "rt-thread"
+RTT_DIR := ../../../../
-# you can change the RTT_ROOT default "rt-thread"
-# example : default "F:/git_repositories/rt-thread"
-
-config PKGS_DIR
- string
- option env="PKGS_ROOT"
- default "packages"
-
-config ENV_DIR
- string
- option env="ENV_ROOT"
- default "/"
+PKGS_DIR := packages
config XUANTIAN_XIAOHUI_R920
bool
@@ -30,6 +13,6 @@ config ENV_DIR
select RT_USING_USER_MAIN
default y
-source "$RTT_DIR/Kconfig"
+source "$(RTT_DIR)/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/board/Kconfig"