2017-12-31 14:49:18 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
2021-12-08 22:13:57 +08:00
|
|
|
src = []
|
2017-12-31 14:49:18 +08:00
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
2021-12-08 22:13:57 +08:00
|
|
|
if GetDepend('RT_USING_POSIX_POLL'):
|
|
|
|
src += ['poll.c']
|
|
|
|
|
2021-12-29 12:25:16 +08:00
|
|
|
group = DefineGroup('POSIX', src, depend = [''], CPPPATH = CPPPATH)
|
2017-12-31 14:49:18 +08:00
|
|
|
|
|
|
|
Return('group')
|