mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 23:41:23 +01:00

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>
17 lines
374 B
Makefile
17 lines
374 B
Makefile
#
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
#
|
|
# Copyright (c) 2021 Western Digital Corporation or its affiliates.
|
|
#
|
|
# Authors:
|
|
# Anup Patel <anup.patel@wdc.com>
|
|
#
|
|
|
|
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
|