summaryrefslogtreecommitdiff
path: root/src/arch/riscv/Makefile.mk
diff options
context:
space:
mode:
authorMaximilian Brune <maximilian.brune@9elements.com>2024-07-25 00:12:21 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-07-26 13:05:41 +0000
commit07f013111654ccb6e8fdb71d697d11f892910c1e (patch)
treeb55c0eb2467a78cbc08cf13132573e5f234d1eb3 /src/arch/riscv/Makefile.mk
parent7dae497495a822fb1bb5d8c4a73eff78494d80b3 (diff)
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 <maximilian.brune@9elements.com> Change-Id: I9d8f85ee805bbbf2627ef419685440b37c15f906 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83641 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/riscv/Makefile.mk')
-rw-r--r--src/arch/riscv/Makefile.mk1
1 files changed, 0 insertions, 1 deletions
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