summaryrefslogtreecommitdiff
path: root/bsp/nxp/lpc/lpc43xx/M0/SConscript
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2024-03-10 15:11:54 -0400
committerMeco Man <[email protected]>2024-03-10 23:19:22 -0400
commitf71d4f33ea615b94763a23eca4674e39e08eb489 (patch)
treecbc654f43d3717273bff93d3a457121bdfe9ef0f /bsp/nxp/lpc/lpc43xx/M0/SConscript
parent46967ef56fd3a3c564ff8119524ef0f1ce500a82 (diff)
[bsp][nxp][lpc] move lpc BSPs into nxp/lpc folders
Diffstat (limited to 'bsp/nxp/lpc/lpc43xx/M0/SConscript')
-rw-r--r--bsp/nxp/lpc/lpc43xx/M0/SConscript17
1 files changed, 17 insertions, 0 deletions
diff --git a/bsp/nxp/lpc/lpc43xx/M0/SConscript b/bsp/nxp/lpc/lpc43xx/M0/SConscript
new file mode 100644
index 0000000000..8333973c01
--- /dev/null
+++ b/bsp/nxp/lpc/lpc43xx/M0/SConscript
@@ -0,0 +1,17 @@
+from building import *
+
+cwd = GetCurrentDir()
+objs = []
+
+for d in os.listdir(os.path.join(cwd, '..')):
+ if d not in ('M0', 'M4'):
+ path = os.path.join('..', d, 'SConscript')
+ if os.path.isfile(os.path.join(cwd, path)):
+ objs = objs + SConscript(os.path.join(cwd, path))
+
+for d in os.listdir(cwd):
+ p = os.path.join(d, 'SConscript');
+ if os.path.isfile(os.path.join(cwd, p)):
+ objs = objs + SConscript(p)
+
+Return('objs')