Lean Sheng Tan has submitted this change. ( https://review.coreboot.org/c/coreboot/+/79575?usp=email )
(
8 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: Makefile.mk: Also add -libs to bootblock when !SEPARATE_ROMSTAGE ......................................................................
Makefile.mk: Also add -libs to bootblock when !SEPARATE_ROMSTAGE
Signed-off-by: Arthur Heymans arthur@aheymans.xyz Change-Id: I18bf67cae7af90a92a030e552af6dc6b134a8357 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79575 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Martin L Roth gaumless@gmail.com --- M Makefile.mk M src/vendorcode/amd/pi/Makefile.mk 2 files changed, 1 insertion(+), 1 deletion(-)
Approvals: Martin L Roth: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/Makefile.mk b/Makefile.mk index 3f39a6e..d7110a9 100644 --- a/Makefile.mk +++ b/Makefile.mk @@ -1307,6 +1307,7 @@ endif else # CONFIG_SEPARATE_ROMSTAGE postinclude-hooks += $$(eval bootblock-srcs += $$(romstage-srcs)) +postinclude-hooks += $$(eval bootblock-libs += $$(romstage-libs)) endif
cbfs-files-$(CONFIG_HAVE_RAMSTAGE) += $(CONFIG_CBFS_PREFIX)/ramstage diff --git a/src/vendorcode/amd/pi/Makefile.mk b/src/vendorcode/amd/pi/Makefile.mk index 5cd1254..446e9d4 100644 --- a/src/vendorcode/amd/pi/Makefile.mk +++ b/src/vendorcode/amd/pi/Makefile.mk @@ -160,7 +160,6 @@ @printf " AGESA $(subst $(obj)/,,$(@))\n" $(AR_libagesa) rcsDT $@ $+
-bootblock-libs += $(agesa_output_path)/libagesa.a romstage-libs += $(agesa_output_path)/libagesa.a ramstage-libs += $(agesa_output_path)/libagesa.a