Motion_EC_HC32_archived/rt-thread/components/libc/libdl/SConscript

15 lines
300 B
Python
Raw Normal View History

2022-01-10 16:20:39 +08:00
from building import *
Import('rtconfig')
src = Glob('*.c') + Glob('*.cpp') + Glob('arch/*.c')
cwd = GetCurrentDir()
group = []
CPPPATH = [cwd]
if rtconfig.PLATFORM == 'gcc':
group = DefineGroup('libc', src,
depend = ['RT_USING_MODULE'],
CPPPATH = CPPPATH)
Return('group')