forked from Mirrors/opensbi
platform: Enable all drivers by default.
The drivers and libfdt are built as libsbiutils.a instead of libplatsbi.a. libsbiutils.a are not built per platform specific. Thus, enable all drivers by default. Signed-off-by: Atish Patra <atish.patra@wdc.com> Acked-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
@@ -7,4 +7,4 @@
|
||||
# Anup Patel <anup.patel@wdc.com>
|
||||
#
|
||||
|
||||
libsbiutils-objs-$(PLATFORM_IRQCHIP_PLIC) += irqchip/plic.o
|
||||
libsbiutils-objs-y += irqchip/plic.o
|
||||
|
@@ -12,5 +12,5 @@ libfdt_files = fdt.o fdt_ro.o fdt_wip.o fdt_rw.o fdt_sw.o fdt_strerror.o \
|
||||
$(foreach file, $(libfdt_files), \
|
||||
$(eval CFLAGS_$(file) = -I$(src)/../../utils/libfdt))
|
||||
|
||||
libsbiutils-objs-$(PLATFORM_INCLUDE_LIBFDT) += $(addprefix libfdt/,$(libfdt_files))
|
||||
libsbiutils-genflags-$(PLATFORM_INCLUDE_LIBFDT) += -I$(libsbiutils_dir)/libfdt/
|
||||
libsbiutils-objs-y += $(addprefix libfdt/,$(libfdt_files))
|
||||
libsbiutils-genflags-y += -I$(libsbiutils_dir)/libfdt/
|
||||
|
@@ -7,5 +7,5 @@
|
||||
# Anup Patel <anup.patel@wdc.com>
|
||||
#
|
||||
|
||||
libsbiutils-objs-$(PLATFORM_SERIAL_UART8250) += serial/uart8250.o
|
||||
libsbiutils-objs-$(PLATFORM_SERIAL_SIFIVE_UART) += serial/sifive-uart.o
|
||||
libsbiutils-objs-y += serial/uart8250.o
|
||||
libsbiutils-objs-y += serial/sifive-uart.o
|
||||
|
@@ -7,4 +7,4 @@
|
||||
# Anup Patel <anup.patel@wdc.com>
|
||||
#
|
||||
|
||||
libsbiutils-objs-$(PLATFORM_SYS_CLINT) += sys/clint.o
|
||||
libsbiutils-objs-y += sys/clint.o
|
||||
|
Reference in New Issue
Block a user