提交 b082c91d 编写于 作者: Nameless-Y's avatar Nameless-Y

[src] add a __RTTHREAD__ global macro definition

上级 d4a682e8
......@@ -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.
先完成此消息的编辑!
想要评论请 注册