summaryrefslogtreecommitdiff
path: root/components/drivers/ofw/libfdt/SConscript
diff options
context:
space:
mode:
authorwusongjie <[email protected]>2023-07-05 13:50:18 +0800
committerwusongjie <[email protected]>2023-07-05 16:45:16 +0800
commit8aa4366cb2910c2c61729608d9f2a90868d16deb (patch)
treee6eca929c54cd5eda0b71c7b3582c3b663be668b /components/drivers/ofw/libfdt/SConscript
parent950d71e1accaee3e4aa76438601715395015943f (diff)
Drivers: Support Open Firmware API and model of PIC
We support OFW API to replace fdt old API, and add IRQ, IO, Platform-Bus, CPUs ... OFW node contorl. To support work with Device Tree or ACPI in drivers that use IRQ, we make a programmable interrupt controller driver's model. Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/ofw/libfdt/SConscript')
-rw-r--r--components/drivers/ofw/libfdt/SConscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/components/drivers/ofw/libfdt/SConscript b/components/drivers/ofw/libfdt/SConscript
new file mode 100644
index 0000000000..fb1fe97f3b
--- /dev/null
+++ b/components/drivers/ofw/libfdt/SConscript
@@ -0,0 +1,10 @@
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+
+CPPPATH = [cwd]
+
+group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')