stm32f103-template/rt-thread/components/libc/posix/io/poll/SConscript

18 lines
332 B
Python
Raw Normal View History

2023-05-09 22:30:49 +08:00
# 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')