You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
332 B
18 lines
332 B
10 months ago
|
# 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')
|