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

15 lines
275 B
Python
Raw Normal View History

from building import *
Import('rtconfig')
2021-04-18 00:55:32 +08:00
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd]
group = []
2021-12-26 22:41:24 +08:00
src += Glob('*.c')
if rtconfig.PLATFORM != 'gcc' or rtconfig.ARCH == 'sim':
2021-12-29 12:25:16 +08:00
group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH)
2021-04-18 00:55:32 +08:00
Return('group')