提交 be7b8421 编写于 作者: pangweishende's avatar pangweishende

[Kernel]when the macro of RT_USING_COMPONENTS_INIT is not open ,then remove...

[Kernel]when the macro of RT_USING_COMPONENTS_INIT is not open ,then remove the source of components.c  from the project.
Signed-off-by: pangweishende's avatarpangwei <271372443@qq.com>
上级 7d73fb8b
......@@ -15,6 +15,9 @@ if rtconfig.CROSS_TOOL == 'keil':
else:
LINKFLAGS = ''
if GetDepend('RT_USING_COMPONENTS_INIT') == False:
SrcRemove(src, ['components.c'])
if GetDepend('RT_USING_MODULE') == False:
SrcRemove(src, ['module.c'])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册