From 11b6c33e94b0db8fd13df4cf30fed9e0673a42ea Mon Sep 17 00:00:00 2001 From: Inochi Amaoto Date: Tue, 18 Mar 2025 20:15:37 +0800 Subject: [PATCH] arch/risc-v: Fix wrong source name in make script AIA releted source files in the Make.defs are not right. Replace them with the right source. Fixes: 5f70307111 ("arch/risc-v: introduce AIA support") Signed-off-by: Inochi Amaoto --- arch/risc-v/src/common/Make.defs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/risc-v/src/common/Make.defs b/arch/risc-v/src/common/Make.defs index 25f008df278..68f0dbc5276 100644 --- a/arch/risc-v/src/common/Make.defs +++ b/arch/risc-v/src/common/Make.defs @@ -104,7 +104,11 @@ CMN_ASRCS += riscv_vpu.S endif ifeq ($(CONFIG_ARCH_RV_HAVE_APLIC),y) -CMN_CSRCS += riscv_aia.c +CMN_CSRCS += riscv_aplic.c +endif + +ifeq ($(CONFIG_ARCH_RV_HAVE_IMSIC),y) +CMN_CSRCS += riscv_imsic.c endif ifeq ($(CONFIG_RISCV_SEMIHOSTING_HOSTFS),y)