From d107831182ebbf485590c32946ee375b3233b24a Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 3 Apr 2009 15:57:58 +0000 Subject: The attached patch tries new style compression first and runs old style compression if the command returned an error code (happens if you run an old lzma with the new arguments) Tested on new-style lzma only (as I lack a build environment with old lzma), but I tested that the old lzma returns with an error code. Signed-off-by: Patrick Georgi Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4053 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/Config.lb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/i386/Config.lb b/src/arch/i386/Config.lb index 4c0241d69c..f13bf2f23b 100644 --- a/src/arch/i386/Config.lb +++ b/src/arch/i386/Config.lb @@ -48,7 +48,7 @@ end # unlike nrv2b, lzma is a huge build mess. If they want lzma, they have to have built it makerule payload.lzma depends "$(PAYLOAD) " - action "lzma e $(PAYLOAD) $@" + action "lzma -zc $(PAYLOAD) > $@ || lzma e $(PAYLOAD) $@" end -- cgit v1.2.3