未验证 提交 8c00fa35 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #4036 from yangjie11/master

[src] add a __RTTHREAD__ global macro definition
......@@ -29,6 +29,8 @@ if GetDepend('RT_USING_DEVICE') == False:
if GetDepend('RT_USING_SMP') == False:
SrcRemove(src, ['cpu.c'])
group = DefineGroup('Kernel', src, depend = [''], CPPPATH = CPPPATH)
CPPDEFINES = ['__RTTHREAD__']
group = DefineGroup('Kernel', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册