summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-12-29 08:11:38 +0000
committer[email protected] <[email protected]>2012-12-29 08:11:38 +0000
commitd573786d522a4c5316210bcef22a417ba40f92c8 (patch)
treed81a377d91f8bfe207cbf702f70bc13dbd940b6f /bsp
parent50d95287cc6e54ac9307a9c24728215607c8fc2f (diff)
fix memory access error in list_tc() under bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2550 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp')
-rw-r--r--bsp/simulator/SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/simulator/SConstruct b/bsp/simulator/SConstruct
index c58b6c1acb..513a5a41ed 100644
--- a/bsp/simulator/SConstruct
+++ b/bsp/simulator/SConstruct
@@ -75,6 +75,9 @@ if GetDepend('RT_USING_RTGUI'):
objs = objs + SConscript(RTT_ROOT + '/examples/gui/SConscript',
variant_dir='build/examples/gui', duplicate=0)
+if GetDepend('RT_USING_TC'):
+ objs = objs + SConscript(RTT_ROOT + '/examples/kernel/SConscript', variant_dir = 'build/tc/kernel', duplicate=0)
+
# build program
program = env.Program(TARGET, objs)