[tools]fix scons --dist , menuconfig will error (#8069)

This commit is contained in:
zhkag 2023-09-26 11:35:27 +08:00 committed by GitHub
parent f941dfcf13
commit b2433129b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 23 deletions

View File

@ -80,6 +80,8 @@ jobs:
scons --dist-ide -C $TEST_BSP_ROOT scons --dist-ide -C $TEST_BSP_ROOT
ls $TEST_BSP_ROOT ls $TEST_BSP_ROOT
ls $TEST_BSP_ROOT/dist ls $TEST_BSP_ROOT/dist
scons --pyconfig-silent -C $TEST_BSP_ROOT/dist/project
scons --pyconfig-silent -C $TEST_BSP_ROOT/rt-studio-project
scons -C $TEST_BSP_ROOT/dist/project scons -C $TEST_BSP_ROOT/dist/project
scons -C $TEST_BSP_ROOT/rt-studio-project scons -C $TEST_BSP_ROOT/rt-studio-project

View File

@ -1,3 +1,20 @@
if ARCH_ARMV8 && ARCH_CPU_64BIT
menu "AArch64 Architecture Configuration"
config ARCH_TEXT_OFFSET
hex "Text offset"
default 0x200000
config ARCH_RAM_OFFSET
hex "RAM offset"
default 0
config ARCH_SECONDARY_CPU_STACK_SIZE
int "Secondary CPU stack size"
default 4096
config ARCH_HAVE_EFFICIENT_UNALIGNED_ACCESS
bool
default y
endmenu
endif
config ARCH_CPU_64BIT config ARCH_CPU_64BIT
bool bool
@ -236,7 +253,3 @@ config ARCH_HOST_SIMULATOR
config ARCH_CPU_STACK_GROWS_UPWARD config ARCH_CPU_STACK_GROWS_UPWARD
bool bool
default n default n
if ARCH_ARMV8 && ARCH_CPU_64BIT
source "$RTT_DIR/libcpu/aarch64/Kconfig"
endif

View File

@ -1,19 +0,0 @@
menu "AArch64 Architecture Configuration"
config ARCH_TEXT_OFFSET
hex "Text offset"
default 0x200000
config ARCH_RAM_OFFSET
hex "RAM offset"
default 0
config ARCH_SECONDARY_CPU_STACK_SIZE
int "Secondary CPU stack size"
default 4096
config ARCH_HAVE_EFFICIENT_UNALIGNED_ACCESS
bool
default y
endmenu