[utestcases] add dependence RT_USING_UTESTCASES
This commit is contained in:
parent
56235c21dd
commit
0c35b803fa
|
@ -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']):
|
||||||
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')
|
||||||
|
|
Loading…
Reference in New Issue