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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4053 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
48e8c3c36d
commit
d107831182
|
@ -48,7 +48,7 @@ end
|
||||||
# unlike nrv2b, lzma is a huge build mess. If they want lzma, they have to have built it
|
# unlike nrv2b, lzma is a huge build mess. If they want lzma, they have to have built it
|
||||||
makerule payload.lzma
|
makerule payload.lzma
|
||||||
depends "$(PAYLOAD) "
|
depends "$(PAYLOAD) "
|
||||||
action "lzma e $(PAYLOAD) $@"
|
action "lzma -zc $(PAYLOAD) > $@ || lzma e $(PAYLOAD) $@"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue