summaryrefslogtreecommitdiff
path: root/components/legacy/usb/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/legacy/usb/SConscript')
-rw-r--r--components/legacy/usb/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/components/legacy/usb/SConscript b/components/legacy/usb/SConscript
new file mode 100644
index 0000000000..3e148cefe2
--- /dev/null
+++ b/components/legacy/usb/SConscript
@@ -0,0 +1,13 @@
+# 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')