TC: if TC is enabled, add the TC dir to CPPPATH

Some component that depend on TC would like to include the tc_comm.h.
This commit is contained in:
Grissiom 2013-12-24 12:08:22 +08:00
parent 041a7e887b
commit e336a9807a
1 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,8 @@ memp_simple.c
tc_sample.c
""")
group = DefineGroup('examples', src, depend = ['RT_USING_TC'])
group = DefineGroup('examples', src,
depend = ['RT_USING_TC'],
CPPPATH=[GetCurrentDir()])
Return('group')