Files
opensbi/lib/utils/i2c/objects.mk
Anup Patel 998ed43fde lib: utils/i2c: Generate FDT i2c adapter driver list at compile-time
Instead of having FDT i2c adapter 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>
2022-05-13 09:26:45 +05:30

17 lines
350 B
Makefile

#
# SPDX-License-Identifier: BSD-2-Clause
#
# Copyright (c) 2021 YADRO
#
# Authors:
# Nikita Shubin <n.shubin@yadro.com>
#
libsbiutils-objs-y += i2c/i2c.o
libsbiutils-objs-y += i2c/fdt_i2c.o
libsbiutils-objs-y += i2c/fdt_i2c_adapter_drivers.o
carray-fdt_i2c_adapter_drivers-y += fdt_i2c_adapter_sifive
libsbiutils-objs-y += i2c/fdt_i2c_sifive.o