smart-green-house/rtt-uart-nb/rt-thread/components/libc/libdl/SConscript

15 lines
300 B
Python
Raw Normal View History

2023-10-28 18:00:47 +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')