[utestcases] add dependence RT_USING_UTESTCASES
@@ -2,8 +2,8 @@ Import('rtconfig')
from building import *
cwd = GetCurrentDir()
-src = Split('''
-''')
+src = []
+CPPPATH = [cwd]
if GetDepend(['UTEST_MEMHEAP_TC']):
src += ['memheap_tc.c']
@@ -41,8 +41,6 @@ if GetDepend(['UTEST_MAILBOX_TC']):
if GetDepend(['UTEST_THREAD_TC']):
src += ['thread_tc.c']
-CPPPATH = [cwd]
-
-group = DefineGroup('utestcases', src, depend = [''], CPPPATH = CPPPATH)
+group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH)
Return('group')
