summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/libc/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/libc/Kconfig b/components/libc/Kconfig
index 79bc78d205..c0cea083e4 100644
--- a/components/libc/Kconfig
+++ b/components/libc/Kconfig
@@ -8,10 +8,9 @@ config RT_USING_PTHREADS
bool "Enable pthreads APIs"
default n
-if RT_USING_LIBC
+if RT_USING_LIBC && RT_USING_DFS
config RT_USING_POSIX
bool "Enable POSIX layer for poll/select, stdin etc"
- select RT_USING_DFS
select RT_USING_DFS_DEVFS
default y