summaryrefslogtreecommitdiff
path: root/components/drivers/firmware/SConscript
diff options
context:
space:
mode:
authorGUI <[email protected]>2025-12-19 21:20:17 +0800
committerGitHub <[email protected]>2025-12-19 21:20:17 +0800
commit43733268c1e22f65c67c796f9e3fe8908267aefd (patch)
treefb98d71f46e640f57fc5756f026746ed24e1cc02 /components/drivers/firmware/SConscript
parent77fbed5744872a825ce71222796b9bdcee30526c (diff)
[dm][firmware][scmi] support ARM-SCMI interface #11069
Diffstat (limited to 'components/drivers/firmware/SConscript')
-rwxr-xr-xcomponents/drivers/firmware/SConscript15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/drivers/firmware/SConscript b/components/drivers/firmware/SConscript
new file mode 100755
index 0000000000..77728612f6
--- /dev/null
+++ b/components/drivers/firmware/SConscript
@@ -0,0 +1,15 @@
+from building import *
+
+cwd = GetCurrentDir()
+list = os.listdir(cwd)
+objs = []
+
+if not GetDepend('RT_USING_FIRMWARE'):
+ Return('objs')
+
+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')