mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-27 21:40:23 +08:00
15 lines
265 B
Python
15 lines
265 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']
|
|
|
|
group = DefineGroup('POSIX', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|