summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorzmq810150896 <[email protected]>2023-12-21 01:00:26 +0800
committerGitHub <[email protected]>2023-12-21 01:00:26 +0800
commit833b43dbc7ea85001436c0932eb3e190fcb51b30 (patch)
treedd17f5a37500b43d246013e587e4a576727eb07f /components
parentd19a15a5df7153471c29d5192e71f0acd7a61b8c (diff)
[libc][Kconfig] default open epoll/eventfd/signalfd/timerfd/select (#8386)
Diffstat (limited to 'components')
-rw-r--r--components/libc/posix/Kconfig8
1 files 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() <poll.h>"
+ default y if RT_USING_SMART
default n
config RT_USING_POSIX_SELECT
bool "Enable I/O Multiplexing select() <sys/select.h>"
select RT_USING_POSIX_POLL
+ default y if RT_USING_SMART
default n
config RT_USING_POSIX_EVENTFD
bool "Enable I/O event eventfd <sys/eventfd.h>"
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 <sys/epoll.h>"
select RT_USING_POSIX_POLL
- default n
+ default y
config RT_USING_POSIX_SIGNALFD
bool "Enable Signalfd <sys/signalfd.h>"
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 <sys/timerfd.h>"
+ default y if RT_USING_SMART
default n
config RT_USING_POSIX_SOCKET