diff options
| author | Meco Man <[email protected]> | 2021-11-10 13:44:35 -0500 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-11-10 14:12:36 -0500 |
| commit | 52bbd9d715ba889fb3e95b7a048f1a0f3e8d5e59 (patch) | |
| tree | b2fcdeb841e2ca593c5b0fa592b5c36b66d5a45a /components/libc/posix/src | |
| parent | e6ae01e3326a5feb6d11176c3407bee7c920399c (diff) | |
[posix] implement delay functions as RT_USING_POSIX_DELAY
Diffstat (limited to 'components/libc/posix/src')
| -rw-r--r-- | components/libc/posix/src/SConscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/libc/posix/src/SConscript b/components/libc/posix/src/SConscript index 0f5d0e9911..78a2a933ed 100644 --- a/components/libc/posix/src/SConscript +++ b/components/libc/posix/src/SConscript @@ -2,13 +2,16 @@ from building import * -src = ['unistd.c', 'delay.c'] +src = ['unistd.c'] cwd = GetCurrentDir() CPPPATH = [cwd] if GetDepend('RT_USING_POSIX_STDIO'): src += ['libc.c'] +if GetDepend('RT_USING_POSIX_DELAY'): + src += ['delay.c'] + if GetDepend('RT_USING_POSIX_POLL'): src += ['poll.c'] |
