summaryrefslogtreecommitdiff
path: root/components/drivers/pic/SConscript
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2024-09-11 13:07:38 +0800
committerRbb666 <[email protected]>2024-09-19 21:14:42 +0800
commit3d503e931bfa395822143beac3f06c39e620e68a (patch)
tree6a1b46371517c0bba162124e5ca54887497bac4b /components/drivers/pic/SConscript
parent94e49755af3fe7b66f7da531502f3cc5e1ad71b0 (diff)
[DRIVER/PIC] Add ARM GICv2/v3 V2M, ITS support.
Fix some code style and init for V2M, ITS. V2M is the PCI MSI/MSI-X for GICv2. ITS is the PCI MSI/MSI-X for GICv3/v4. Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/pic/SConscript')
-rw-r--r--components/drivers/pic/SConscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/drivers/pic/SConscript b/components/drivers/pic/SConscript
index e820792aa6..53cb66e1ff 100644
--- a/components/drivers/pic/SConscript
+++ b/components/drivers/pic/SConscript
@@ -16,9 +16,15 @@ if GetDepend(['RT_PIC_ARM_GIC']) or GetDepend(['RT_PIC_ARM_GIC_V3']):
if GetDepend(['RT_PIC_ARM_GIC']):
src += ['pic-gicv2.c']
+if GetDepend(['RT_PIC_ARM_GIC_V2M']):
+ src += ['pic-gicv2m.c']
+
if GetDepend(['RT_PIC_ARM_GIC_V3']):
src += ['pic-gicv3.c']
+if GetDepend(['RT_PIC_ARM_GIC_V3_ITS']):
+ src += ['pic-gicv3-its.c']
+
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')