4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 09:43:31 +08:00

13 lines
269 B
Python

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