Add the system call timerfd and update SConscript for signalfd (#8067)

This commit is contained in:
zmq810150896
2023-09-23 14:18:29 +08:00
committed by GitHub
parent 047cc8663e
commit 7c2f807a7c
5 changed files with 572 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
# 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')