提交 0c35b803 编写于 作者: mysterywolf's avatar mysterywolf 提交者: guo

[utestcases] add dependence RT_USING_UTESTCASES

上级 56235c21
...@@ -2,8 +2,8 @@ Import('rtconfig') ...@@ -2,8 +2,8 @@ Import('rtconfig')
from building import * from building import *
cwd = GetCurrentDir() cwd = GetCurrentDir()
src = Split(''' src = []
''') CPPPATH = [cwd]
if GetDepend(['UTEST_MEMHEAP_TC']): if GetDepend(['UTEST_MEMHEAP_TC']):
src += ['memheap_tc.c'] src += ['memheap_tc.c']
...@@ -41,8 +41,6 @@ if GetDepend(['UTEST_MAILBOX_TC']): ...@@ -41,8 +41,6 @@ if GetDepend(['UTEST_MAILBOX_TC']):
if GetDepend(['UTEST_THREAD_TC']): if GetDepend(['UTEST_THREAD_TC']):
src += ['thread_tc.c'] src += ['thread_tc.c']
CPPPATH = [cwd] group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH)
group = DefineGroup('utestcases', src, depend = [''], CPPPATH = CPPPATH)
Return('group') Return('group')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册