提交 1adcc181 编写于 作者: mysterywolf's avatar mysterywolf

add delay.c as default

上级 f8388c57
......@@ -2,7 +2,7 @@
from building import *
src = ['unistd.c']
src = ['unistd.c', 'delay.c']
cwd = GetCurrentDir()
CPPPATH = [cwd]
......@@ -15,9 +15,6 @@ if GetDepend('RT_USING_POSIX_POLL'):
if GetDepend('RT_USING_POSIX_SELECT'):
src += ['select.c']
if GetDepend('RT_USING_POSIX_DELAY'):
src += ['delay.c']
group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX'], CPPPATH = CPPPATH)
Return('group')
......@@ -7,6 +7,7 @@
* Date Author Notes
* 2021-05-07 Meco Man first Version
*/
#include <sys/types.h>
#include <rtthread.h>
#include <rthw.h>
#define DBG_TAG "POSIX.delay"
......
......@@ -13,7 +13,6 @@
#include <dfs_private.h>
#include <sys/errno.h>
#include <unistd.h>
#include <delay.h>
/**
* this function is a POSIX compliant version, which will open a file and
......
......@@ -41,7 +41,6 @@ config RT_USING_SAL
config SAL_USING_POSIX
bool "Enable BSD socket operated by file system API"
default n
select RT_USING_LIBC
select RT_USING_POSIX
select RT_USING_POSIX_SELECT
help
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册