4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-21 05:23:35 +08:00
2022-01-17 11:18:09 +08:00

15 lines
275 B
Python

from building import *
Import('rtconfig')
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd]
group = []
src += Glob('*.c')
if rtconfig.PLATFORM != 'gcc' or rtconfig.ARCH == 'sim':
group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH)
Return('group')