From ede452fb9936a55bddffe9c7ca3e557e9b081f26 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 15 Dec 2023 14:32:39 +0100 Subject: vendorcode/amd/opensil: Add CPP args to all stages It does not hurt to do this and makes it possible to link romstage sources into bootblock. Signed-off-by: Arthur Heymans Change-Id: Ic7edfdac43c2d71ee3dcbd9d8f59c9799595e7f8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79576 Reviewed-by: Martin L Roth Tested-by: build bot (Jenkins) --- src/vendorcode/amd/opensil/genoa_poc/Makefile.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/vendorcode') diff --git a/src/vendorcode/amd/opensil/genoa_poc/Makefile.mk b/src/vendorcode/amd/opensil/genoa_poc/Makefile.mk index 70bf44b32d..ca58868da6 100644 --- a/src/vendorcode/amd/opensil/genoa_poc/Makefile.mk +++ b/src/vendorcode/amd/opensil/genoa_poc/Makefile.mk @@ -2,8 +2,7 @@ subdirs-y += mpio -CPPFLAGS_ramstage += -I$(opensil_dir)/Include -I$(opensil_dir)/xUSL -I$(opensil_dir)/xUSL/Include -I$(opensil_dir)/xUSL/FCH -I$(opensil_dir)/xUSL/FCH/Common -I$(opensil_dir)/xSIM -I$(opensil_dir)/xPRF -CPPFLAGS_romstage += -I$(opensil_dir)/Include -I$(opensil_dir)/xUSL -I$(opensil_dir)/xUSL/Include -I$(opensil_dir)/xSIM -I$(opensil_dir)/xPRF +CPPFLAGS_common += -I$(opensil_dir)/Include -I$(opensil_dir)/xUSL -I$(opensil_dir)/xUSL/Include -I$(opensil_dir)/xUSL/FCH -I$(opensil_dir)/xUSL/FCH/Common -I$(opensil_dir)/xSIM -I$(opensil_dir)/xPRF romstage-y += opensil_console.c romstage-y += romstage.c -- cgit v1.2.3