Browse Source

[libc] Remove Kconfig warning

Bernard Xiong 7 years ago
parent
commit
9b8a8d6e5f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      components/libc/Kconfig

+ 1 - 2
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