summaryrefslogtreecommitdiff
path: root/target/linux/rdc/patches-2.6.30/011-use_host_lzma.patch
blob: 0cb47349ad495b2a56c315cbecd38a2015d3cc83 (plain)
1
2
3
4
5
6
7
8
--- 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)