openwrt_archive/target/linux/rdc/patches-2.6.30/011-use_host_lzma.patch
2011-10-17 10:02:00 +00:00

9 lines
353 B
Diff

--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -204,4 +204,4 @@ cmd_bzip2 = (bzip2 -9 < $< && $(size_app
# ---------------------------------------------------------------------------
quiet_cmd_lzma = LZMA $@
-cmd_lzma = lzma e $< $@ -lc1 -lp2 -pb2 -eos
+cmd_lzma = (/usr/bin/lzma -9 -c $< ; $(size_append) $<) >$@ || (rm -f $@ ; false)