summaryrefslogtreecommitdiff
path: root/components/libc/posix/io/poll/SConscript
blob: 7e7c0f55f79c5a76a49ffcafaed2574dcd29e419 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RT-Thread building script for component

from building import *

cwd     = GetCurrentDir()
src     = []
CPPPATH = [cwd]

if GetDepend('RT_USING_POSIX_POLL'):
    src += ['poll.c']

if GetDepend('RT_USING_POSIX_SELECT'):
    src += ['select.c']

group = DefineGroup('POSIX', src, depend = [''], CPPPATH = CPPPATH)

Return('group')