rt-thread/components/libc/libdl/SConscript

15 lines
300 B
Python
Raw Normal View History

2013-01-08 22:40:58 +08:00
from building import *
2017-10-13 12:44:54 +08:00
Import('rtconfig')
2013-01-08 22:40:58 +08:00
2018-08-30 20:27:45 +08:00
src = Glob('*.c') + Glob('*.cpp') + Glob('arch/*.c')
cwd = GetCurrentDir()
2017-10-13 12:44:54 +08:00
group = []
CPPPATH = [cwd]
2017-10-13 12:44:54 +08:00
if rtconfig.PLATFORM == 'gcc':
group = DefineGroup('libc', src,
2018-08-30 20:27:45 +08:00
depend = ['RT_USING_MODULE'],
2017-10-13 12:44:54 +08:00
CPPPATH = CPPPATH)
2013-01-08 22:40:58 +08:00
Return('group')