summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.mk1
-rw-r--r--src/vendorcode/amd/pi/Makefile.mk1
2 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.mk b/Makefile.mk
index 3f39a6edee..d7110a9caa 100644
--- a/Makefile.mk
+++ b/Makefile.mk
@@ -1307,6 +1307,7 @@ $(CONFIG_CBFS_PREFIX)/romstage-options += $(TXTIBB)
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 5cd12545ae..446e9d4779 100644
--- a/src/vendorcode/amd/pi/Makefile.mk
+++ b/src/vendorcode/amd/pi/Makefile.mk
@@ -160,7 +160,6 @@ $(agesa_output_path)/libagesa.a: $(call src-to-obj,libagesa,$(agesa_src_files))
@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