Please check the attached trivial patch.

It properly checks for the LZMA compression variable, and fixes a print
message for the VGA ROM that would print a useless NULL string.

Thanks,
Cristi

The patch is 
Signed-off by: Cristi Magherusan <[email protected]>
From f97e9d74d938a2503103407a0cba8899956ffe91 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Cristi=20M=C4=83gheru=C8=99an?= <[email protected]>
Date: Sat, 22 Aug 2009 21:14:43 +0300
Subject: [PATCH] fixed the LZMA compression

---
 Makefile                   |    2 +-
 src/arch/i386/Makefile.inc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index ef20d1a..e937e7c 100644
--- a/Makefile
+++ b/Makefile
@@ -232,7 +232,7 @@ CFLAGS += -Werror-implicit-function-declaration -Wstrict-aliasing -Wshadow
 CFLAGS += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer
 
 CBFS_COMPRESS_FLAG:=
-ifeq "$(CONFIG_COMPRESSED_PAYLOAD_LZMA)" "1"
+ifeq ($(CONFIG_COMPRESSED_PAYLOAD_LZMA),y)
 CBFS_COMPRESS_FLAG:=l
 endif
 
diff --git a/src/arch/i386/Makefile.inc b/src/arch/i386/Makefile.inc
index 7fed6f5..304ab03 100644
--- a/src/arch/i386/Makefile.inc
+++ b/src/arch/i386/Makefile.inc
@@ -27,7 +27,7 @@ else
 	$(Q) printf "    PAYLOAD    $(CONFIG_FALLBACK_PAYLOAD_FILE) $(COMPRESSFLAG)\n"
 	$(Q)$(CBFSTOOL) ./build/coreboot.rom add-payload $(CONFIG_FALLBACK_PAYLOAD_FILE)  fallback/payload $(CBFS_COMPRESS_FLAG)
 ifeq ($(CONFIG_VGA_BIOS),y)
-	$(Q) printf "    VGABIOS    $(CONFIG_FALLBACK_VGA_BIOS_FILE) $(CONFIG_FALLBACK_VGA_BIOS_ID) $(COMPRESSFLAG)\n"
+	$(Q) printf "    VGABIOS    $(CONFIG_FALLBACK_VGA_BIOS_FILE) $(CONFIG_FALLBACK_VGA_BIOS_ID)\n"
 	$(Q) $(CBFSTOOL) ./build/coreboot.rom add $(CONFIG_FALLBACK_VGA_BIOS_FILE) "pci$(CONFIG_FALLBACK_VGA_BIOS_ID).rom" optionrom 
 endif
 	$(Q) printf "    CBFSPRINT  ./build/coreboot.rom\n\n"
-- 
1.6.0.4

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to