4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-14 19:49:34 +08:00
2017-10-13 12:44:54 +08:00

15 lines
299 B
Python

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