mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-11-16 04:24:33 +00:00
18 lines
331 B
Python
18 lines
331 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('Libc', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|