summaryrefslogtreecommitdiff
path: root/bsp/lpc176x/SConstruct
diff options
context:
space:
mode:
authorwuyangyong <[email protected]>2011-10-13 17:54:59 +0000
committerwuyangyong <[email protected]>2011-10-13 17:54:59 +0000
commit53ae9bf2e1b028b818f6488c4a18dce7c47b5be3 (patch)
treee0705f2bddab1769ec2b23e2e4c2434b03910713 /bsp/lpc176x/SConstruct
parent06e810dfe8ff4502527d3fffdcd3149202b36260 (diff)
update lpc176x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1762 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/lpc176x/SConstruct')
-rw-r--r--bsp/lpc176x/SConstruct7
1 files changed, 7 insertions, 0 deletions
diff --git a/bsp/lpc176x/SConstruct b/bsp/lpc176x/SConstruct
index 4eb3bef0da..fddbc18a1c 100644
--- a/bsp/lpc176x/SConstruct
+++ b/bsp/lpc176x/SConstruct
@@ -27,6 +27,13 @@ if GetDepend('RT_USING_WEBSERVER'):
if GetDepend('RT_USING_RTGUI'):
objs = objs + SConscript(RTT_ROOT + '/examples/gui/SConscript', variant_dir='build/examples/gui', duplicate=0)
+cwd = str(Dir('#'))
+list = os.listdir(cwd)
+for d in list:
+ path = os.path.join(cwd, d)
+ if os.path.isfile(os.path.join(path, 'SConscript')):
+ objs = objs + SConscript(os.path.join(d, 'SConscript'))
+
# libc testsuite
# objs = objs + SConscript(RTT_ROOT + '/examples/libc/SConscript', variant_dir='build/examples/libc', duplicate=0)