summaryrefslogtreecommitdiff
path: root/components/libc/posix/src/SConscript
blob: f338b52cec517c00e9bd7ce186c2a6cd43461970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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')