[coreboot] [PATCH] fix CBFS builds if the lzma utility isn't found on the system.
Patrick Georgi
patrick at georgi-clan.de
Fri May 29 00:10:33 CEST 2009
Hi,
see attached patch
-------------- next part --------------
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 <patrick.georgi at coresystems.de>
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
More information about the coreboot
mailing list