4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 11:53:53 +08:00
2021-04-25 21:10:31 +08:00

14 lines
257 B
Python

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