cmake/toolchain: Add Kconfig setting for toolchains with newlib
Label espressif, gnuarmemd and xtools toolchains with newlib support using the Kconfig variable rather than relying on the TOOLCHAIN_HAS_NEWLIB value. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
45733aa925
commit
28209a9069
3 changed files with 13 additions and 0 deletions
7
cmake/toolchain/espressif/Kconfig
Normal file
7
cmake/toolchain/espressif/Kconfig
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright © 2023 Keith Packard
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config NEWLIB_LIBC_SUPPORTED
|
||||
def_bool y
|
||||
help
|
||||
Espressif supports newlib for C and C++ development.
|
||||
|
|
@ -6,3 +6,4 @@
|
|||
config TOOLCHAIN_GNUARMEMB
|
||||
def_bool y
|
||||
select HAS_NEWLIB_LIBC_NANO
|
||||
select NEWLIB_LIBC_SUPPORTED
|
||||
|
|
|
|||
|
|
@ -4,3 +4,8 @@
|
|||
config TOOLCHAIN_XTOOLS_SUPPORTS_THREAD_LOCAL_STORAGE
|
||||
def_bool y
|
||||
select TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
|
||||
|
||||
config NEWLIB_LIBC_SUPPORTED
|
||||
def_bool y
|
||||
help
|
||||
Crosstools is assumed to support newlib for C and C++ development.
|
||||
|
|
|
|||
Loading…
Reference in a new issue