summaryrefslogtreecommitdiff
path: root/components/libc/posix/io/poll/SConscript
blob: 9ccc5425c12f28f9aad002f4f3e52d094d10aca7 (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('Libc', src, depend = [''], CPPPATH = CPPPATH)

Return('group')