summaryrefslogtreecommitdiff
path: root/bsp/acm32f4xx-nucleo/SConscript
diff options
context:
space:
mode:
authorJianting (Meco) Man <[email protected]>2021-10-11 15:58:20 -0500
committerGitHub <[email protected]>2021-10-11 15:58:20 -0500
commit1426e57db023b2fd40887c278d4c089678987d4e (patch)
tree58c7e21f1f4dc298c9ad231fa2c86814e1ed4b76 /bsp/acm32f4xx-nucleo/SConscript
parent2ae8a05963b83c5a0deba6bd9b95f81b93d33092 (diff)
parent277bb736d7d4a7e6c32df107e550c2918bf95726 (diff)
Merge branch 'RT-Thread:master' into hal
Diffstat (limited to 'bsp/acm32f4xx-nucleo/SConscript')
-rw-r--r--bsp/acm32f4xx-nucleo/SConscript14
1 files changed, 14 insertions, 0 deletions
diff --git a/bsp/acm32f4xx-nucleo/SConscript b/bsp/acm32f4xx-nucleo/SConscript
new file mode 100644
index 0000000000..744d8d7821
--- /dev/null
+++ b/bsp/acm32f4xx-nucleo/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')