Hi,
see attached patch

Add lzma.o for CBFS, regardless if CONFIG_COMPRESSED_PAYLOAD_LZMA is
enabled or not.
CONFIG_COMPRESSED_PAYLOAD_LZMA is set only if the lzma utility is found
on the system - at least when using abuild. CBFS doesn't use this tool
for compression.

The result was a failed build if lzma (the tool) wasn't found, or
failed runtime (if src/lib/cbfs.c disables lzma decompression based on
CONFIG_COMPRESSED_PAYLOAD_LZMA)


Signed-off-by: Patrick Georgi <[email protected]>
Index: src/lib/Config.lb
===================================================================
--- src/lib/Config.lb   (Revision 4319)
+++ src/lib/Config.lb   (Arbeitskopie)
@@ -1,4 +1,3 @@
-uses HAVE_FALLBACK_BOOT
 uses CONFIG_USE_INIT
 uses CONFIG_USBDEBUG_DIRECT
 
@@ -28,4 +27,5 @@
 
 if CONFIG_CBFS
        object cbfs.o
+       object lzma.o
 end
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to