From 216574bba8fbf4ea512345eababcfc85a7c23231 Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Wed, 27 Apr 2022 12:55:04 +0300 Subject: [PATCH] OpenSBI: Add riscv_hardfp.S to compilation It will just become an empty object if FPU support is not included. --- arch/risc-v/src/opensbi/Make.defs | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/risc-v/src/opensbi/Make.defs b/arch/risc-v/src/opensbi/Make.defs index 27bd894b2f3..7afb7fd67dc 100644 --- a/arch/risc-v/src/opensbi/Make.defs +++ b/arch/risc-v/src/opensbi/Make.defs @@ -30,6 +30,7 @@ OPENSBI_CSRCS += opensbi/opensbi-3rdparty/lib/utils/timer/aclint_mtimer.c OPENSBI_ASRCS += opensbi/opensbi-3rdparty/lib/sbi/sbi_expected_trap.S OPENSBI_ASRCS += opensbi/opensbi-3rdparty/lib/sbi/sbi_hfence.S +OPENSBI_ASRCS += opensbi/opensbi-3rdparty/lib/sbi/riscv_hardfp.S OPENSBI_UNPACK = opensbi-3rdparty OPENSBI_COMMIT = 4998a712b2ab504eff306110879ee05af6050177