Skip to content

Commit 8286196

Browse files
MuChengerRbb666
authored andcommitted
[bsp/xuantie][fix] 修正Bsp Kconfig配置
1 parent ec5e72c commit 8286196

File tree

10 files changed

+40
-210
lines changed

10 files changed

+40
-210
lines changed

bsp/xuantie/smartl/e902/Kconfig

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config BSP_DIR
4-
string
5-
option env="BSP_ROOT"
6-
default "."
3+
BSP_DIR := .
74

8-
config RTT_DIR
9-
string
10-
option env="RTT_ROOT"
11-
default "rt-thread"
5+
RTT_DIR := ../../../../
126

13-
# you can change the RTT_ROOT default "rt-thread"
14-
# example : default "F:/git_repositories/rt-thread"
15-
16-
config PKGS_DIR
17-
string
18-
option env="PKGS_ROOT"
19-
default "packages"
20-
21-
config ENV_DIR
22-
string
23-
option env="ENV_ROOT"
24-
default "/"
7+
PKGS_DIR := packages
258

269
config XUANTIAN_SMARTL_E902
2710
bool
@@ -30,6 +13,6 @@ config XUANTIAN_SMARTL_E902
3013
select RT_USING_USER_MAIN
3114
default y
3215

33-
source "$RTT_DIR/Kconfig"
16+
source "$(RTT_DIR)/Kconfig"
3417
source "$PKGS_DIR/Kconfig"
3518
source "$BSP_DIR/board/Kconfig"

bsp/xuantie/smartl/e906/Kconfig

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config BSP_DIR
4-
string
5-
option env="BSP_ROOT"
6-
default "."
3+
BSP_DIR := .
74

8-
config RTT_DIR
9-
string
10-
option env="RTT_ROOT"
11-
default "rt-thread"
5+
RTT_DIR := ../../../../
126

13-
# you can change the RTT_ROOT default "rt-thread"
14-
# example : default "F:/git_repositories/rt-thread"
15-
16-
config PKGS_DIR
17-
string
18-
option env="PKGS_ROOT"
19-
default "packages"
20-
21-
config ENV_DIR
22-
string
23-
option env="ENV_ROOT"
24-
default "/"
7+
PKGS_DIR := packages
258

269
config XUANTIAN_SMARTL_E906
2710
bool
@@ -30,6 +13,6 @@ config XUANTIAN_SMARTL_E906
3013
select RT_USING_USER_MAIN
3114
default y
3215

33-
source "$RTT_DIR/Kconfig"
16+
source "$(RTT_DIR)/Kconfig"
3417
source "$PKGS_DIR/Kconfig"
3518
source "$BSP_DIR/board/Kconfig"

bsp/xuantie/smartl/e907/Kconfig

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config BSP_DIR
4-
string
5-
option env="BSP_ROOT"
6-
default "."
3+
BSP_DIR := .
74

8-
config RTT_DIR
9-
string
10-
option env="RTT_ROOT"
11-
default "rt-thread"
5+
RTT_DIR := ../../../../
126

13-
# you can change the RTT_ROOT default "rt-thread"
14-
# example : default "F:/git_repositories/rt-thread"
15-
16-
config PKGS_DIR
17-
string
18-
option env="PKGS_ROOT"
19-
default "packages"
20-
21-
config ENV_DIR
22-
string
23-
option env="ENV_ROOT"
24-
default "/"
7+
PKGS_DIR := packages
258

269
config XUANTIAN_SMARTL_E907
2710
bool
@@ -30,6 +13,6 @@ config XUANTIAN_SMARTL_E907
3013
select RT_USING_USER_MAIN
3114
default y
3215

33-
source "$RTT_DIR/Kconfig"
16+
source "$(RTT_DIR)/Kconfig"
3417
source "$PKGS_DIR/Kconfig"
3518
source "$BSP_DIR/board/Kconfig"

bsp/xuantie/xiaohui/c906/Kconfig

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config BSP_DIR
4-
string
5-
option env="BSP_ROOT"
6-
default "."
3+
BSP_DIR := .
74

8-
config RTT_DIR
9-
string
10-
option env="RTT_ROOT"
11-
default "rt-thread"
5+
RTT_DIR := ../../../../
126

13-
# you can change the RTT_ROOT default "rt-thread"
14-
# example : default "F:/git_repositories/rt-thread"
15-
16-
config PKGS_DIR
17-
string
18-
option env="PKGS_ROOT"
19-
default "packages"
20-
21-
config ENV_DIR
22-
string
23-
option env="ENV_ROOT"
24-
default "/"
7+
PKGS_DIR := packages
258

269
config XUANTIAN_XIAOHUI_C906
2710
bool
@@ -30,6 +13,6 @@ config ENV_DIR
3013
select RT_USING_USER_MAIN
3114
default y
3215

33-
source "$RTT_DIR/Kconfig"
16+
source "$(RTT_DIR)/Kconfig"
3417
source "$PKGS_DIR/Kconfig"
3518
source "$BSP_DIR/board/Kconfig"

bsp/xuantie/xiaohui/c907/Kconfig

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config BSP_DIR
4-
string
5-
option env="BSP_ROOT"
6-
default "."
3+
BSP_DIR := .
74

8-
config RTT_DIR
9-
string
10-
option env="RTT_ROOT"
11-
default "rt-thread"
5+
RTT_DIR := ../../../../
126

13-
# you can change the RTT_ROOT default "rt-thread"
14-
# example : default "F:/git_repositories/rt-thread"
15-
16-
config PKGS_DIR
17-
string
18-
option env="PKGS_ROOT"
19-
default "packages"
20-
21-
config ENV_DIR
22-
string
23-
option env="ENV_ROOT"
24-
default "/"
7+
PKGS_DIR := packages
258

269
config XUANTIAN_XIAOHUI_C907
2710
bool
@@ -30,6 +13,6 @@ config ENV_DIR
3013
select RT_USING_USER_MAIN
3114
default y
3215

33-
source "$RTT_DIR/Kconfig"
16+
source "$(RTT_DIR)/Kconfig"
3417
source "$PKGS_DIR/Kconfig"
3518
source "$BSP_DIR/board/Kconfig"

bsp/xuantie/xiaohui/c908/Kconfig

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config BSP_DIR
4-
string
5-
option env="BSP_ROOT"
6-
default "."
3+
BSP_DIR := .
74

8-
config RTT_DIR
9-
string
10-
option env="RTT_ROOT"
11-
default "rt-thread"
5+
RTT_DIR := ../../../../
126

13-
# you can change the RTT_ROOT default "rt-thread"
14-
# example : default "F:/git_repositories/rt-thread"
15-
16-
config PKGS_DIR
17-
string
18-
option env="PKGS_ROOT"
19-
default "packages"
20-
21-
config ENV_DIR
22-
string
23-
option env="ENV_ROOT"
24-
default "/"
7+
PKGS_DIR := packages
258

269
config XUANTIAN_XIAOHUI_C908
2710
bool
@@ -30,6 +13,6 @@ config ENV_DIR
3013
select RT_USING_USER_MAIN
3114
default y
3215

33-
source "$RTT_DIR/Kconfig"
16+
source "$(RTT_DIR)/Kconfig"
3417
source "$PKGS_DIR/Kconfig"
3518
source "$BSP_DIR/board/Kconfig"

bsp/xuantie/xiaohui/c910/Kconfig

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config BSP_DIR
4-
string
5-
option env="BSP_ROOT"
6-
default "."
3+
BSP_DIR := .
74

8-
config RTT_DIR
9-
string
10-
option env="RTT_ROOT"
11-
default "rt-thread"
5+
RTT_DIR := ../../../../
126

13-
# you can change the RTT_ROOT default "rt-thread"
14-
# example : default "F:/git_repositories/rt-thread"
15-
16-
config PKGS_DIR
17-
string
18-
option env="PKGS_ROOT"
19-
default "packages"
20-
21-
config ENV_DIR
22-
string
23-
option env="ENV_ROOT"
24-
default "/"
7+
PKGS_DIR := packages
258

269
config XUANTIAN_XIAOHUI_C910
2710
bool
@@ -30,6 +13,6 @@ config ENV_DIR
3013
select RT_USING_USER_MAIN
3114
default y
3215

33-
source "$RTT_DIR/Kconfig"
16+
source "$(RTT_DIR)/Kconfig"
3417
source "$PKGS_DIR/Kconfig"
3518
source "$BSP_DIR/board/Kconfig"

bsp/xuantie/xiaohui/r908/Kconfig

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config BSP_DIR
4-
string
5-
option env="BSP_ROOT"
6-
default "."
3+
BSP_DIR := .
74

8-
config RTT_DIR
9-
string
10-
option env="RTT_ROOT"
11-
default "rt-thread"
5+
RTT_DIR := ../../../../
126

13-
# you can change the RTT_ROOT default "rt-thread"
14-
# example : default "F:/git_repositories/rt-thread"
15-
16-
config PKGS_DIR
17-
string
18-
option env="PKGS_ROOT"
19-
default "packages"
20-
21-
config ENV_DIR
22-
string
23-
option env="ENV_ROOT"
24-
default "/"
7+
PKGS_DIR := packages
258

269
config XUANTIAN_XIAOHUI_R908
2710
bool
@@ -30,6 +13,6 @@ config ENV_DIR
3013
select RT_USING_USER_MAIN
3114
default y
3215

33-
source "$RTT_DIR/Kconfig"
16+
source "$(RTT_DIR)/Kconfig"
3417
source "$PKGS_DIR/Kconfig"
3518
source "$BSP_DIR/board/Kconfig"

bsp/xuantie/xiaohui/r910/Kconfig

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config BSP_DIR
4-
string
5-
option env="BSP_ROOT"
6-
default "."
3+
BSP_DIR := .
74

8-
config RTT_DIR
9-
string
10-
option env="RTT_ROOT"
11-
default "rt-thread"
5+
RTT_DIR := ../../../../
126

13-
# you can change the RTT_ROOT default "rt-thread"
14-
# example : default "F:/git_repositories/rt-thread"
15-
16-
config PKGS_DIR
17-
string
18-
option env="PKGS_ROOT"
19-
default "packages"
20-
21-
config ENV_DIR
22-
string
23-
option env="ENV_ROOT"
24-
default "/"
7+
PKGS_DIR := packages
258

269
config XUANTIAN_XIAOHUI_R910
2710
bool
@@ -30,6 +13,6 @@ config ENV_DIR
3013
select RT_USING_USER_MAIN
3114
default y
3215

33-
source "$RTT_DIR/Kconfig"
16+
source "$(RTT_DIR)/Kconfig"
3417
source "$PKGS_DIR/Kconfig"
3518
source "$BSP_DIR/board/Kconfig"

bsp/xuantie/xiaohui/r920/Kconfig

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
mainmenu "RT-Thread Configuration"
22

3-
config BSP_DIR
4-
string
5-
option env="BSP_ROOT"
6-
default "."
3+
BSP_DIR := .
74

8-
config RTT_DIR
9-
string
10-
option env="RTT_ROOT"
11-
default "rt-thread"
5+
RTT_DIR := ../../../../
126

13-
# you can change the RTT_ROOT default "rt-thread"
14-
# example : default "F:/git_repositories/rt-thread"
15-
16-
config PKGS_DIR
17-
string
18-
option env="PKGS_ROOT"
19-
default "packages"
20-
21-
config ENV_DIR
22-
string
23-
option env="ENV_ROOT"
24-
default "/"
7+
PKGS_DIR := packages
258

269
config XUANTIAN_XIAOHUI_R920
2710
bool
@@ -30,6 +13,6 @@ config ENV_DIR
3013
select RT_USING_USER_MAIN
3114
default y
3215

33-
source "$RTT_DIR/Kconfig"
16+
source "$(RTT_DIR)/Kconfig"
3417
source "$PKGS_DIR/Kconfig"
3518
source "$BSP_DIR/board/Kconfig"

0 commit comments

Comments
 (0)