summaryrefslogtreecommitdiff
path: root/components/drivers/power/SConscript
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2025-12-15 12:22:24 +0800
committerR b b666 <[email protected]>2025-12-17 10:29:05 +0800
commitdf990e91d3572a6681ec763ca67ef49f5feace45 (patch)
tree473c57427d9444a3af15940f6a831f506f552036 /components/drivers/power/SConscript
parentb4d332706ee7b75e09b19d35c205f3dc2174d5bf (diff)
[dm][power] add new drivers for power framework
1. GPIO poweroff/restart 2. Generic SYSCON regmap poweroff/reboot mode/reboot 3. Emulator battery(thermal)/charger 4. GPIO charger Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/power/SConscript')
-rw-r--r--components/drivers/power/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/components/drivers/power/SConscript b/components/drivers/power/SConscript
new file mode 100644
index 0000000000..0b84689e91
--- /dev/null
+++ b/components/drivers/power/SConscript
@@ -0,0 +1,11 @@
+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')