mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-01 20:31:25 +08:00
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')
|