Skip to content

Commit b243312

Browse files
authored
[tools]fix scons --dist , menuconfig will error (#8069)
1 parent f941dfc commit b243312

File tree

3 files changed

+19
-23
lines changed

3 files changed

+19
-23
lines changed

.github/workflows/action_tools.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
scons --dist-ide -C $TEST_BSP_ROOT
8181
ls $TEST_BSP_ROOT
8282
ls $TEST_BSP_ROOT/dist
83+
scons --pyconfig-silent -C $TEST_BSP_ROOT/dist/project
84+
scons --pyconfig-silent -C $TEST_BSP_ROOT/rt-studio-project
8385
scons -C $TEST_BSP_ROOT/dist/project
8486
scons -C $TEST_BSP_ROOT/rt-studio-project
8587

libcpu/Kconfig

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
if ARCH_ARMV8 && ARCH_CPU_64BIT
2+
menu "AArch64 Architecture Configuration"
3+
config ARCH_TEXT_OFFSET
4+
hex "Text offset"
5+
default 0x200000
6+
config ARCH_RAM_OFFSET
7+
hex "RAM offset"
8+
default 0
9+
config ARCH_SECONDARY_CPU_STACK_SIZE
10+
int "Secondary CPU stack size"
11+
default 4096
12+
config ARCH_HAVE_EFFICIENT_UNALIGNED_ACCESS
13+
bool
14+
default y
15+
endmenu
16+
endif
17+
118
config ARCH_CPU_64BIT
219
bool
320

@@ -236,7 +253,3 @@ config ARCH_HOST_SIMULATOR
236253
config ARCH_CPU_STACK_GROWS_UPWARD
237254
bool
238255
default n
239-
240-
if ARCH_ARMV8 && ARCH_CPU_64BIT
241-
source "$RTT_DIR/libcpu/aarch64/Kconfig"
242-
endif

libcpu/aarch64/Kconfig

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)