From 8aa4366cb2910c2c61729608d9f2a90868d16deb Mon Sep 17 00:00:00 2001 From: wusongjie Date: Wed, 5 Jul 2023 13:50:18 +0800 Subject: 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 --- components/drivers/pic/SConscript | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 components/drivers/pic/SConscript (limited to 'components/drivers/pic/SConscript') diff --git a/components/drivers/pic/SConscript b/components/drivers/pic/SConscript new file mode 100644 index 0000000000..ade23fc309 --- /dev/null +++ b/components/drivers/pic/SConscript @@ -0,0 +1,15 @@ +from building import * + +group = [] + +if not GetDepend(['RT_USING_PIC']): + Return('group') + +cwd = GetCurrentDir() +CPPPATH = [cwd + '/../include'] + +src = ['pic.c'] + +group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') -- cgit v1.3.1