4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 07:39:33 +08:00
2015-01-31 21:59:58 +08:00

16 lines
307 B
Python

from building import *
import rtconfig
src = Glob('*.c')
cwd = GetCurrentDir()
group = []
CPPPATH = [cwd]
CPPDEFINES = ['RT_USING_DLIBC']
if rtconfig.PLATFORM == 'iar':
group = DefineGroup('dlib', src, depend = ['RT_USING_LIBC'],
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group')