From 1adcc181aa1e07925249562bc25372ede018ce54 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Mon, 8 Nov 2021 02:07:07 -0500 Subject: add delay.c as default --- components/libc/posix/src/SConscript | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'components/libc/posix/src/SConscript') diff --git a/components/libc/posix/src/SConscript b/components/libc/posix/src/SConscript index 24c4ede4e1..b4454f6a52 100644 --- a/components/libc/posix/src/SConscript +++ b/components/libc/posix/src/SConscript @@ -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') -- cgit v1.3.1