From 833b43dbc7ea85001436c0932eb3e190fcb51b30 Mon Sep 17 00:00:00 2001 From: zmq810150896 <50894086+zmq810150896@users.noreply.github.com> Date: Thu, 21 Dec 2023 01:00:26 +0800 Subject: [PATCH] [libc][Kconfig] default open epoll/eventfd/signalfd/timerfd/select (#8386) --- components/libc/posix/Kconfig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/libc/posix/Kconfig b/components/libc/posix/Kconfig index 0f51f73abb..d8627c242a 100644 --- a/components/libc/posix/Kconfig +++ b/components/libc/posix/Kconfig @@ -19,28 +19,31 @@ if RT_USING_POSIX_FS config RT_USING_POSIX_POLL bool "Enable I/O Multiplexing poll() " + default y if RT_USING_SMART default n config RT_USING_POSIX_SELECT bool "Enable I/O Multiplexing select() " select RT_USING_POSIX_POLL + default y if RT_USING_SMART default n config RT_USING_POSIX_EVENTFD bool "Enable I/O event eventfd " select RT_USING_POSIX_POLL + default y if RT_USING_SMART default n if RT_USING_SMART config RT_USING_POSIX_EPOLL bool "Enable I/O Multiplexing epoll " select RT_USING_POSIX_POLL - default n + default y config RT_USING_POSIX_SIGNALFD bool "Enable Signalfd " select RT_USING_POSIX_POLL - default n + default y if RT_USING_POSIX_SIGNALFD config RT_SIGNALFD_MAX_NUM @@ -52,6 +55,7 @@ if RT_USING_POSIX_FS config RT_USING_POSIX_TIMERFD bool "Enable I/O timerfd " + default y if RT_USING_SMART default n config RT_USING_POSIX_SOCKET