diff options
Diffstat (limited to 'components/CMSIS/SConscript')
| -rw-r--r-- | components/CMSIS/SConscript | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/components/CMSIS/SConscript b/components/CMSIS/SConscript new file mode 100644 index 0000000000..1cb7618499 --- /dev/null +++ b/components/CMSIS/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')
|
