fix upgrade detection logic, patch from Bernhard Loos
[openwrt/staging/wigyori.git] / target / linux / rdc / patches-2.6.30 / 011-use_host_lzma.patch
1 --- a/scripts/Makefile.lib
2 +++ b/scripts/Makefile.lib
3 @@ -204,4 +204,4 @@ cmd_bzip2 = (bzip2 -9 < $< && $(size_app
4 # ---------------------------------------------------------------------------
5
6 quiet_cmd_lzma = LZMA $@
7 -cmd_lzma = lzma e $< $@ -lc1 -lp2 -pb2 -eos
8 +cmd_lzma = (/usr/bin/lzma -9 -c $< ; $(size_append) $<) >$@ || (rm -f $@ ; false)