rt-thread-official/components/libc/compilers/common/extension/SConscript

15 lines
275 B
Python

from building import *
Import('rtconfig')
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd]
group = []
src += Glob('*.c')
if rtconfig.PLATFORM != 'gcc' or rtconfig.ARCH == 'sim':
group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH)
Return('group')