diff options
| author | Meco Man <[email protected]> | 2021-10-28 14:23:07 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-10-29 09:59:45 -0400 |
| commit | 3c232125db049a42b97287e4eb44ea0664e7538c (patch) | |
| tree | 946955cd7fd3baaad1712316b08736bb50ff287c /components/libc/posix/src/SConscript | |
| parent | 51d5930aa32f57af7234366804c13b580d0b8964 (diff) | |
[bsp][simulator] update project
Diffstat (limited to 'components/libc/posix/src/SConscript')
| -rw-r--r-- | components/libc/posix/src/SConscript | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/libc/posix/src/SConscript b/components/libc/posix/src/SConscript index 8712d671c0..f338b52cec 100644 --- a/components/libc/posix/src/SConscript +++ b/components/libc/posix/src/SConscript @@ -1,11 +1,13 @@ -# RT-Thread building script for component - from building import * +Import('rtconfig') src = Glob('*.c') cwd = GetCurrentDir() CPPPATH = [cwd] +if rtconfig.ARCH == 'sim': # the vs simulator does not support select and poll + SrcRemove(src, ['select.c', 'poll.c']) + group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX'], CPPPATH = CPPPATH) Return('group') |
