Skip to content

Commit

Permalink
posix kconfig: Improve depends on host libC
Browse files Browse the repository at this point in the history
Improve a depends on the host libC.
It is technically correct, but NATIVE_LIBC
is shorter and clearer than "ARCH_POSIX && EXTERNAL_LIBC"

Signed-off-by: Alberto Escolar Piedras <[email protected]>
  • Loading branch information
aescolar authored and dleach02 committed Jan 5, 2024
1 parent c58710c commit b802e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/posix/Kconfig.clock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
config POSIX_CLOCK
bool "POSIX clock, timer, and sleep APIs"
default y if POSIX_API
depends on !(ARCH_POSIX && EXTERNAL_LIBC)
depends on !NATIVE_LIBC
help
This enables POSIX clock\_\*(), timer\_\*(), and \*sleep()
functions.

0 comments on commit b802e42

Please sign in to comment.