summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-12-24 12:08:22 +0800
committerGrissiom <[email protected]>2013-12-24 12:08:22 +0800
commite336a9807a6687c5b9c162d70536c97011d55eef (patch)
tree236e5323fd1ea63813cf5d48adaa688a7ef8b0d5 /examples
parent041a7e887b0074b5d2c0440d113e7626018e52f0 (diff)
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.
Diffstat (limited to 'examples')
-rw-r--r--examples/kernel/SConscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/kernel/SConscript b/examples/kernel/SConscript
index bfbc80b54a..4cffe1c38c 100644
--- a/examples/kernel/SConscript
+++ b/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')