nuttx-update/libs/libbuiltin/Kconfig
wangmingrong1 8461f0ea54 clang: Support compiling rt.profile library
1. Since the implementation of gcov has changed since clang17, versions before clang17 need to use the libunwind.a file

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2024-10-30 17:10:23 +08:00

40 lines
905 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
comment "Toolchain Library Support"
choice
prompt "Builtin toolchain support"
default BUILTIN_TOOLCHAIN
---help---
Choose to compile libraries related to toolchain into the OS
config BUILTIN_COMPILER_RT
bool "Builtin LLVM Compiler-rt"
---help---
Compile the LLVM Compiler-rt library into the OS.
config BUILTIN_TOOLCHAIN
bool "Link the toolchain library"
---help---
Use the toolchain library that comes with the compiler
endchoice
if BUILTIN_COMPILER_RT
config COMPILER_RT_VERSION
string "Select LLVM Compiler-rt version"
default "17.0.1"
config COMPILER_RT_HAS_BFLOAT16
bool "Enable support for bfloat16 in Compiler-rt"
default n
config COMPILER_RT_PROFILE
bool "Enable profiling support in Compiler-rt"
default n
endif # BUILTIN_COMPILER_RT