zephyr/cmake/toolchain
Chris Friedt 4a5c4e5f73 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-06-04 16:27:12 -05:00
..
arcmwdt ARCMWDT: Turn off picolibc support 2024-05-18 15:54:05 +03:00
armclang posix: timers: deprecate CONFIG_POSIX_CLOCK and TIMER 2024-06-04 16:27:12 -05:00
cross-compile kconfig: Add symbols for GNU C Extensions 2024-04-25 09:54:39 +00:00
espressif toolchain: esp32: fix cmake build issue with 'espressif' toolchain 2023-11-22 09:52:29 +01:00
gnuarmemb kconfig: Add symbols for GNU C Extensions 2024-04-25 09:54:39 +00:00
host kconfig: Add symbols for GNU C Extensions 2024-04-25 09:54:39 +00:00
llvm toolchain: llvm: Allow TLS when using llvm targeting arm 2024-05-14 09:43:37 +02:00
oneApi toolchain: oneApi: Fix support and update for 2023.0.0 release 2023-02-23 14:30:03 -05:00
xcc cmake: use zephyr_get in toolchains to ensure identical behavior. 2022-09-02 15:16:50 +02:00
xt-clang linker: introduce profile xt-ld 2023-02-22 08:35:46 -05:00
xtools cmake/toolchain: Add Kconfig setting for toolchains with newlib 2023-04-27 20:18:11 +09:00
zephyr cmake: rework of host tools and generic toolchain handling 2022-09-01 15:59:43 +02:00