posix: eventfd: select eventfd by default with CONFIG_POSIX_API
Although the eventfd API is not (yet) a part of POSIX,
it's pretty well ubiquitous on POSIX systems now.
Enable it by default when `CONFIG_POSIX_API=y`.
@@ -143,6 +143,7 @@ config APP_LINK_WITH_POSIX_SUBSYS
config EVENTFD
bool "Support for eventfd"
depends on !ARCH_POSIX
+ default y if POSIX_API
help
Enable support for event file descriptors, eventfd. An eventfd can
be used as an event wait/notify mechanism together with POSIX calls
