rt-thread-official/components/libc/minilibc/SConscript

14 lines
263 B
Python

Import('RTT_ROOT')
from building import *
src = Glob('*.c')
cwd = GetCurrentDir()
CPPPATH = [cwd]
CPPDEFINES = ['RT_USING_MINILIBC']
group = DefineGroup('libc', src, depend = ['RT_USING_MINILIBC'],
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group')