Author: oxygene Date: 2009-04-03 17:57:58 +0200 (Fri, 03 Apr 2009) New Revision: 4053
Modified: trunk/coreboot-v2/src/arch/i386/Config.lb Log: 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 patrick.georgi@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/coreboot-v2/src/arch/i386/Config.lb =================================================================== --- trunk/coreboot-v2/src/arch/i386/Config.lb 2009-04-03 15:02:08 UTC (rev 4052) +++ trunk/coreboot-v2/src/arch/i386/Config.lb 2009-04-03 15:57:58 UTC (rev 4053) @@ -48,7 +48,7 @@ # 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