diff options
| author | [email protected] <[email protected]> | 2011-11-22 22:28:51 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-11-22 22:28:51 +0000 |
| commit | 8b091fc74a3a1cae4acbf888b3f085147f225d8b (patch) | |
| tree | ae37487d743a328e94cd6e82ffba712c3fc898e8 /components/drivers/SConscript | |
| parent | 336a94a15eb4ae1247e9b567915b9648a8f2b0b4 (diff) | |
add drivers directory.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1797 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers/SConscript')
| -rw-r--r-- | components/drivers/SConscript | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/components/drivers/SConscript b/components/drivers/SConscript new file mode 100644 index 0000000000..1cb7618499 --- /dev/null +++ b/components/drivers/SConscript @@ -0,0 +1,14 @@ +# for module compiling
+import os
+from building import *
+
+cwd = GetCurrentDir()
+objs = []
+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'))
+
+Return('objs')
|
