提交 0009d1f3 编写于 作者: mysterywolf's avatar mysterywolf

[posix]将pthread收缩到posix选项之下,将选定DFS后由DFS选定POSIX 改为选择posix后选择dfs

上级 4fb86df0
...@@ -10,7 +10,6 @@ if RT_USING_LIBC ...@@ -10,7 +10,6 @@ if RT_USING_LIBC
config RT_LIBC_USING_FILEIO config RT_LIBC_USING_FILEIO
bool "Enable libc with file operation, eg.fopen/fwrite/fread/getchar" bool "Enable libc with file operation, eg.fopen/fwrite/fread/getchar"
select RT_USING_DFS
select RT_USING_POSIX select RT_USING_POSIX
default n default n
...@@ -37,40 +36,38 @@ config RT_LIBC_DEFAULT_TIMEZONE ...@@ -37,40 +36,38 @@ config RT_LIBC_DEFAULT_TIMEZONE
range -12 12 range -12 12
default 8 default 8
config RT_USING_PTHREADS config RT_USING_POSIX
bool "Enable pthreads APIs" bool "Enable basic POSIX layer, open/read/write/close etc"
select RT_USING_DFS
select RT_USING_DFS_DEVFS
default n default n
if RT_USING_PTHREADS if RT_USING_POSIX
config PTHREAD_NUM_MAX config RT_USING_POSIX_MMAP
int "Maximum number of pthreads" bool "Enable mmap() API"
default 8 default n
endif
if RT_USING_DFS config RT_USING_POSIX_TERMIOS
config RT_USING_POSIX bool "Enable termios APIs"
bool "Enable POSIX layer, open/read/write/select etc" default n
select RT_USING_DFS_DEVFS
default y
if RT_USING_POSIX config RT_USING_POSIX_GETLINE
config RT_USING_POSIX_MMAP bool "Enable getline()/getdelim() APIs"
bool "Enable mmap() API" default n
default n
config RT_USING_POSIX_TERMIOS config RT_USING_POSIX_AIO
bool "Enable termios APIs" bool "Enable AIO"
default n default n
config RT_USING_POSIX_GETLINE config RT_USING_PTHREADS
bool "Enable getline()/getdelim() APIs" bool "Enable pthreads APIs"
default n default n
config RT_USING_POSIX_AIO if RT_USING_PTHREADS
bool "Enable AIO" config PTHREAD_NUM_MAX
default n int "Maximum number of pthreads"
default 8
endif endif
endif endif
endmenu endmenu
...@@ -41,9 +41,7 @@ config RT_USING_SAL ...@@ -41,9 +41,7 @@ config RT_USING_SAL
config SAL_USING_POSIX config SAL_USING_POSIX
bool "Enable BSD socket operated by file system API" bool "Enable BSD socket operated by file system API"
default n default n
select RT_USING_DFS select RT_LIBC_USING_FILEIO
select RT_USING_LIBC
select RT_USING_POSIX
help help
Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs. Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册