4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 10:03:30 +08:00

16 lines
304 B
Python
Raw Normal View History

from building import *
Import('rtconfig')
2021-04-18 00:55:32 +08:00
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd]
group = []
if GetDepend('RT_USING_LIBC'):
src += Glob('*.c')
if rtconfig.PLATFORM != 'gcc' or rtconfig.ARCH == 'sim':
group = DefineGroup('libc', src, depend = [], CPPPATH = CPPPATH)
2021-04-18 00:55:32 +08:00
Return('group')