summaryrefslogtreecommitdiff
path: root/bsp/nuvoton/numaker-m467hj/SConscript
diff options
context:
space:
mode:
authorWayne <[email protected]>2022-09-12 19:36:11 +0800
committerGitHub <[email protected]>2022-09-12 07:36:11 -0400
commitc9db6ed151a8a86543ffca20bf0b63aa7323c52d (patch)
treebb6cee824f01654b33c3a8209993138e6eec7b43 /bsp/nuvoton/numaker-m467hj/SConscript
parent4a835925963cd920a5c4eb75d00b17d9300d0900 (diff)
[bsp/nuvoton] Support NuMaker-M467HJ BSP and update drivers. (#6416)
* [bsp/nuvoton] Support NuMaker-M467HJ BSP and update drivers. * Format files. Co-authored-by: Wayne Lin <[email protected]>
Diffstat (limited to 'bsp/nuvoton/numaker-m467hj/SConscript')
-rw-r--r--bsp/nuvoton/numaker-m467hj/SConscript14
1 files changed, 14 insertions, 0 deletions
diff --git a/bsp/nuvoton/numaker-m467hj/SConscript b/bsp/nuvoton/numaker-m467hj/SConscript
new file mode 100644
index 0000000000..fe0ae941ae
--- /dev/null
+++ b/bsp/nuvoton/numaker-m467hj/SConscript
@@ -0,0 +1,14 @@
+# for module compiling
+import os
+Import('RTT_ROOT')
+
+cwd = str(Dir('#'))
+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')