From e336a9807a6687c5b9c162d70536c97011d55eef Mon Sep 17 00:00:00 2001 From: Grissiom Date: Tue, 24 Dec 2013 12:08:22 +0800 Subject: [PATCH] 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. --- examples/kernel/SConscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/kernel/SConscript b/examples/kernel/SConscript index bfbc80b54..4cffe1c38 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') -- GitLab