zephyr/cmake/toolchain/armclang/Kconfig

30 lines
710 B
Plaintext
Raw Normal View History

# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config LD_LINKER_SCRIPT_SUPPORTED
bool
default n
choice LINKER_SCRIPT
default CMAKE_LINKER_GENERATOR
endchoice
choice LIBC_IMPLEMENTATION
prompt "C Library Implementation"
default ARMCLANG_STD_LIBC
config ARMCLANG_STD_LIBC
bool "ARM Compiler C library"
select COMMON_LIBC_STRNLEN
posix: timers: deprecate CONFIG_POSIX_CLOCK and TIMER The POSIX_CLOCK option does not correspond to any standard option. It was used to active features of several distinct POSIX Options and Option Groups, which complicated API and application configuration as a result. POSIX_CLOCK is being deprecated in order to ensure that Zephyr's POSIX Kconfig variables correspond to those defined in the specification, as of IEEE 1003.1-2017. Additionally, CONFIG_TIMER is being deprecated because it does not match the corresponding POSIX Option (_POSIX_TIMERS). With this deprecation, we introduce the following Kconfig options that map directly to standard POSIX Option Groups by simply removing "CONFIG_": * CONFIG_POSIX_TIMERS Similarly, we introduce the following Kconfig options that map directly to standard POSIX Options by simply removing "CONFIG": * CONFIG_POSIX_CLOCK_SELECTION * CONFIG_POSIX_CPUTIME * CONFIG_POSIX_DELAYTIMER_MAX * CONFIG_POSIX_MONOTONIC_CLOCK * CONFIG_POSIX_TIMEOUTS * CONFIG_POSIX_TIMER_MAX In order to maintain parity with the current feature set, we introduce the following Kconfig options that map directly to standard POSIX Option Groups by simply removing "CONFIG_": * CONFIG_POSIX_MULTI_PROCESS - sleep() Similarly, in order to maintain parity with the current feature set, we introduce the following additional Kconfig options that map directly to standard POSIX Options by simply removing "CONFIG": * CONFIG_XSI_SINGLE_PROCESS - gettimeofday() Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-05-21 00:23:58 +08:00
select COMMON_LIBC_TIME if POSIX_TIMERS
help
Use the full Arm Compiler runtime libraries.
A reduced Zephyr minimal libc will be used for library functionality
not provided by ARM Compiler standard libraries.
endchoice
config TOOLCHAIN_ARMCLANG_SUPPORTS_GNU_EXTENSIONS
def_bool y
select TOOLCHAIN_SUPPORTS_GNU_EXTENSIONS