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