Raul Rangel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/58804 )
Change subject: lib: Add lib.c to all stages ......................................................................
lib: Add lib.c to all stages
This will be used in cbfs.c which is used in all stages.
BUG=b:179699789 TEST=Build guybrush
Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: I0713ae766c0ac9e43de702690ad0ba961d636d18 --- M src/lib/Makefile.inc 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/58804/1
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 693a526..520a1ad 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -28,6 +28,8 @@ $(obj)/ramstage/lib/asan.o: CFLAGS_asan = endif
+all-y += list.c + decompressor-y += decompressor.c $(call src-to-obj,decompressor,$(dir)/decompressor.c): $(objcbfs)/bootblock.lz4 $(call src-to-obj,decompressor,$(dir)/decompressor.c): CCACHE_EXTRAFILES=$(objcbfs)/bootblock.lz4 @@ -154,7 +156,6 @@ ramstage-$(CONFIG_GENERIC_UDELAY) += timer.c ramstage-y += b64_decode.c ramstage-$(CONFIG_ACPI_NHLT) += nhlt.c -ramstage-y += list.c ramstage-$(CONFIG_FLATTENED_DEVICE_TREE) += device_tree.c ramstage-$(CONFIG_PAYLOAD_FIT_SUPPORT) += fit.c ramstage-$(CONFIG_PAYLOAD_FIT_SUPPORT) += fit_payload.c