File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ choice LIBC_IMPLEMENTATION
16
16
config ARMCLANG_STD_LIBC
17
17
bool "ARM Compiler C library"
18
18
select COMMON_LIBC_STRNLEN
19
- select COMMON_LIBC_TIME if POSIX_TIMERS
19
+ select COMMON_LIBC_TIME
20
20
help
21
21
Use the full Arm Compiler runtime libraries.
22
22
A reduced Zephyr minimal libc will be used for library functionality
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ config MINIMAL_LIBC_RAND
37
37
38
38
config MINIMAL_LIBC_TIME
39
39
bool "Time functions"
40
- select COMMON_LIBC_TIME if POSIX_TIMERS
40
+ select COMMON_LIBC_TIME
41
41
select POSIX_C_LANG_SUPPORT_R
42
42
select COMMON_LIBC_GMTIME_R
43
43
select COMMON_LIBC_ASCTIME
@@ -47,9 +47,6 @@ config MINIMAL_LIBC_TIME
47
47
help
48
48
Enable time() and gmtime_r() for the minimal libc.
49
49
50
- time() requires CONFIG_POSIX_TIMERS=y because it relies on the POSIX
51
- clock_gettime() function.
52
-
53
50
In order to make use of the non-reentrant gmtime(), it is necessary
54
51
to set CONFIG_MINIMAL_LIBC_NON_REENTRANT_FUNCTIONS=y.
55
52
You can’t perform that action at this time.
0 commit comments