15 lines
286 B
Python
15 lines
286 B
Python
|
# RT-Thread building script for component
|
||
|
|
||
|
from building import *
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
src = []
|
||
|
CPPPATH = [cwd]
|
||
|
|
||
|
if GetDepend('RT_USING_DFS'):
|
||
|
src += ['timerfd.c']
|
||
|
|
||
|
group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_TIMERFD'], CPPPATH = CPPPATH)
|
||
|
|
||
|
Return('group')
|