forked from Mirrors/opensbi
lib: utils/irqchip: Generate FDT irqchip driver list at compile-time
Instead of having FDT irqchip driver list hard-coded in the C source, we generate it using carray.sh at compile-time. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com>
This commit is contained in:
@@ -8,9 +8,17 @@
|
||||
#
|
||||
|
||||
libsbiutils-objs-y += irqchip/fdt_irqchip.o
|
||||
libsbiutils-objs-y += irqchip/fdt_irqchip_drivers.o
|
||||
|
||||
carray-fdt_irqchip_drivers-y += fdt_irqchip_aplic
|
||||
libsbiutils-objs-y += irqchip/fdt_irqchip_aplic.o
|
||||
|
||||
carray-fdt_irqchip_drivers-y += fdt_irqchip_imsic
|
||||
libsbiutils-objs-y += irqchip/fdt_irqchip_imsic.o
|
||||
|
||||
carray-fdt_irqchip_drivers-y += fdt_irqchip_plic
|
||||
libsbiutils-objs-y += irqchip/fdt_irqchip_plic.o
|
||||
|
||||
libsbiutils-objs-y += irqchip/aplic.o
|
||||
libsbiutils-objs-y += irqchip/imsic.o
|
||||
libsbiutils-objs-y += irqchip/plic.o
|
||||
|
Reference in New Issue
Block a user