summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2009-10-21 23:50:25 +0000
committerbernard.xiong <[email protected]>2009-10-21 23:50:25 +0000
commit9ba06214639ce55f11bcce682f14c51b3275f510 (patch)
tree8ee5d9430258ce9eb1e48287651b6b4877dd20a1 /src
parenta7c1e7c3a495d6058c586f340787b396f919976b (diff)
update on scons script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@118 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src')
-rw-r--r--src/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SConscript b/src/SConscript
index 6e71c13fc3..18d27bd801 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -1,7 +1,10 @@
Import('env')
+Import('RTT_ROOT')
# The set of source files associated with this SConscript file.
src_local = Glob('*.c')
+env.Append(CPPPATH = [RTT_ROOT + '/include'])
obj = env.Object(src_local)
+
Return('obj')