From 07f013111654ccb6e8fdb71d697d11f892910c1e Mon Sep 17 00:00:00 2001 From: Maximilian Brune Date: Thu, 25 Jul 2024 00:12:21 +0200 Subject: arch/riscv: Remove opensbi submodule includes Currently we include a header file from the opensbi submodule. That causes some issues, since we merge outside code with our own. Most recently there have been made attempts to make the coreboot codebase C23 ready. The code that we include from opensbi however causes the build to fail, since it is not C23 ready. This patch effectivily detaches the coreboot codebase from the opensbi codebase and just copies the structure and definitions that we need from opensbi into coreboot. Signed-off-by: Maximilian Brune Change-Id: I9d8f85ee805bbbf2627ef419685440b37c15f906 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83641 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/arch/riscv/Makefile.mk | 1 - 1 file changed, 1 deletion(-) (limited to 'src/arch/riscv/Makefile.mk') diff --git a/src/arch/riscv/Makefile.mk b/src/arch/riscv/Makefile.mk index d5defea0e7..6754c2202d 100644 --- a/src/arch/riscv/Makefile.mk +++ b/src/arch/riscv/Makefile.mk @@ -180,7 +180,6 @@ cbfs-files-y += $(OPENSBI_CBFS) check-ramstage-overlap-files += $(OPENSBI_CBFS) -CPPFLAGS_common += -I$(OPENSBI_SOURCE)/include ramstage-y += opensbi.c endif #CONFIG_RISCV_OPENSBI -- cgit v1.2.3