Move the implementation of zsock_select() to zvfs_select(). This allows other types of file descriptors to also make use of select() functionality even when the network subsystem is not enabled. Additionally, it partially removes a dependency cycle between posix and networking by moving functionality into a mutual dependency. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
26 lines
517 B
Plaintext
26 lines
517 B
Plaintext
CONFIG_POSIX_API=y
|
|
CONFIG_ZTEST=y
|
|
|
|
# for POSIX_FILESYSTEM
|
|
CONFIG_POSIX_FILE_SYSTEM=y
|
|
|
|
# for networking things to work
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_POSIX_NETWORKING=y
|
|
CONFIG_NET_TEST=y
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
# For e.g. sched_get_priority_max()
|
|
CONFIG_POSIX_PRIORITY_SCHEDULING=y
|
|
|
|
# For putmsg(), etc
|
|
CONFIG_XOPEN_STREAMS=y
|
|
|
|
# for when CONFIG_POSIX_API is not selected
|
|
CONFIG_POSIX_THREADS=y
|
|
CONFIG_POSIX_TIMERS=y
|
|
CONFIG_POSIX_MESSAGE_PASSING=y
|
|
CONFIG_EVENTFD=y
|
|
CONFIG_POSIX_C_LIB_EXT=y
|
|
CONFIG_POSIX_DEVICE_IO=y
|