1# Copyright (c) 2023 The ChromiumOS Authors 2# SPDX-License-Identifier: Apache-2.0 3 4config COMPILER_RT_SUPPORTED 5 bool 6 default y 7 depends on "${ZEPHYR_TOOLCHAIN_VARIANT}" = "llvm" 8 help 9 Selected when the compiler supports compiler-rt runtime library. 10 11choice RTLIB_IMPLEMENTATION 12 prompt "Runtime library implementation" 13 default LIBGCC_RTLIB 14 15config LIBGCC_RTLIB 16 bool "GNU Libgcc" 17 help 18 Use libgcc as a runtime library. 19 20config COMPILER_RT_RTLIB 21 bool "LLVM compiler-rt" 22 depends on COMPILER_RT_SUPPORTED 23 help 24 Use LLVM compiler-rt as a runtime library. 25 26endchoice 27