2023-09-11 14:06:08 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = []
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
2024-01-26 22:14:02 +08:00
|
|
|
if GetDepend('RT_USING_POSIX_SIGNALFD'):
|
|
|
|
src += ['signalfd.c']
|
2023-09-11 14:06:08 +08:00
|
|
|
|
2023-09-23 14:18:29 +08:00
|
|
|
group = DefineGroup('POSIX', src, depend = ['RT_USING_SMART','RT_USING_POSIX_SIGNALFD'], CPPPATH = CPPPATH)
|
2023-09-11 14:06:08 +08:00
|
|
|
|
|
|
|
Return('group')
|