1
0
Fork 0
forked from nuttx/nuttx-update

gcov: Add toolchain gcov dependency option

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
wangmingrong1 2024-11-21 18:16:33 +08:00 committed by Xiang Xiao
parent b58eaf7bc8
commit 1d04884812
2 changed files with 2 additions and 0 deletions

View file

@ -25,6 +25,7 @@ CONFIG_FS_AIO=y
CONFIG_FS_BINFS=y
CONFIG_FS_NAMED_SEMAPHORES=y
CONFIG_FS_PROCFS=y
CONFIG_HAVE_CXXINITIALIZE=y
CONFIG_INIT_ARGS="\"-c\", \"ostest;gcov -d;poweroff\""
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_LIBC_MAX_EXITFUNS=1

View file

@ -57,6 +57,7 @@ config COVERAGE_MINI
config COVERAGE_TOOLCHAIN
bool "Link toolchain gcov library to the OS"
depends on ARCH_TOOLCHAIN_GCC
depends on HAVE_CXXINITIALIZE
---help---
Link the toolchain coverage library to the OS.