summaryrefslogtreecommitdiff
path: root/components/dfs/KConfig
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-11-05 14:36:48 +0800
committerBernard Xiong <[email protected]>2017-11-05 14:36:48 +0800
commit9bd094197e8dcc04a72db283cf46cd71bab2fede (patch)
tree8a031ee661bb6778bbdee1e24a0cdf9163476280 /components/dfs/KConfig
parent626bd00abf8d5d565f7bb5b521390d05e0597409 (diff)
[libc] Add HAVE_SYS_SELECT_H/HAVE_SYS_SOCKET_H options.
Diffstat (limited to 'components/dfs/KConfig')
-rw-r--r--components/dfs/KConfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/components/dfs/KConfig b/components/dfs/KConfig
index 97379b3e4e..e7dfb2abb8 100644
--- a/components/dfs/KConfig
+++ b/components/dfs/KConfig
@@ -96,6 +96,20 @@ if RT_USING_DFS
help
Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs.
+ if RT_USING_DFS_NET
+ config HAVE_SYS_SELECT_H
+ bool "Toolchains/libc have provide sys/select.h"
+ default n
+ help
+ Toolchains/libc have provide sys/select.h file, therefore, disable the sys/select.h in RT-Thread.
+
+ config HAVE_SYS_SOCKET_H
+ bool "Toolchains/libc have provide sys/socket.h"
+ default n
+ help
+ Toolchains/libc have provide sys/socket.h file, therefore, disable the sys/socket.h in RT-Thread.
+ endif
+
config RT_USING_DFS_ROMFS
bool "Enable ReadOnly file system on flash"
default n