提交 97d1ebf6 编写于 作者: B Bernard Xiong

Update SConscript

上级 b045f93b
......@@ -3,6 +3,11 @@ from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
group = DefineGroup('Components', src, depend = ['RT_USING_COMPONENTS_INIT'], CPPPATH = CPPPATH)
if rtconfig.CROSS_TOOL == 'keil':
LINKFLAGS = ' --keep __rt_init* '
else:
LINKFLAGS = ''
group = DefineGroup('Components', src, depend = ['RT_USING_COMPONENTS_INIT'], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS)
Return('group')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册