mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-16 19:38:56 +00:00
18 lines
332 B
Python
18 lines
332 B
Python
# 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')
|