4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-27 20:20:26 +08:00
2022-01-20 20:55:31 +08:00

13 lines
283 B
Python

from building import *
Import('rtconfig')
src = Glob('*.c') + Glob('*.cpp') + Glob('arch/*.c')
cwd = GetCurrentDir()
group = []
CPPPATH = [cwd]
if rtconfig.PLATFORM == 'gcc':
group = DefineGroup('POSIX', src, depend = ['RT_USING_MODULE'], CPPPATH = CPPPATH)
Return('group')