forked from Mirrors/opensbi
lib: utils/gpio: Generate FDT gpio driver list at compile-time
Instead of having FDT gpio 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,5 +8,9 @@
|
||||
#
|
||||
|
||||
libsbiutils-objs-y += gpio/fdt_gpio.o
|
||||
libsbiutils-objs-y += gpio/fdt_gpio_drivers.o
|
||||
|
||||
carray-fdt_gpio_drivers-y += fdt_gpio_sifive
|
||||
libsbiutils-objs-y += gpio/fdt_gpio_sifive.o
|
||||
|
||||
libsbiutils-objs-y += gpio/gpio.o
|
||||
|
Reference in New Issue
Block a user