浏览代码

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.
Grissiom 11 年之前
父节点
当前提交
e336a9807a
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      examples/kernel/SConscript

+ 3 - 1
examples/kernel/SConscript

@@ -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')