summaryrefslogtreecommitdiff
path: root/components/drivers/graphic/SConscript
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2025-12-12 15:58:12 +0800
committerR b b666 <[email protected]>2025-12-15 16:54:23 +0800
commit5abecc1fd0c3ee9d71ce6b3ff3ee95eda4825065 (patch)
tree752168c49b2d3e043e5c264cc0e23fa5376516e5 /components/drivers/graphic/SConscript
parent35bae6824b61910600cb47a3f1c345671609748d (diff)
[dm][graphic] support dm mode
1. Add backlight framework for graphic. 2. Add framebuffer and plane, power, EDID for graphic framework 3. Add boot logo render for graphic 4. Update lcd.h Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/graphic/SConscript')
-rw-r--r--components/drivers/graphic/SConscript23
1 files changed, 23 insertions, 0 deletions
diff --git a/components/drivers/graphic/SConscript b/components/drivers/graphic/SConscript
new file mode 100644
index 0000000000..300b71afd7
--- /dev/null
+++ b/components/drivers/graphic/SConscript
@@ -0,0 +1,23 @@
+from building import *
+
+group = []
+objs = []
+
+if not GetDepend(['RT_USING_GRAPHIC']):
+ Return('group')
+
+cwd = GetCurrentDir()
+list = os.listdir(cwd)
+CPPPATH = [cwd + '/../include']
+
+src = ['graphic.c', 'graphic_primary.c', 'graphic_simple.c']
+
+group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
+
+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'))
+objs = objs + group
+
+Return('objs')