summaryrefslogtreecommitdiff
path: root/target/linux/rdc/patches-2.6.30/011-use_host_lzma.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-06 08:42:41 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-06 08:42:41 +0000
commit91681580d6d108aa1957ca9c459564cf54d3749a (patch)
tree3412d662e527fb345c7cc421357122d403f1b127 /target/linux/rdc/patches-2.6.30/011-use_host_lzma.patch
parent30d1329e802aab85af636daa4eaf6d81d3c66bc2 (diff)
[rdc] use host-side lzma decompression tool, lzma-4.32 from openwrt produces non-working bzImages, switch to 2.6.30, strip down kernel configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18325 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/patches-2.6.30/011-use_host_lzma.patch')
-rw-r--r--target/linux/rdc/patches-2.6.30/011-use_host_lzma.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/rdc/patches-2.6.30/011-use_host_lzma.patch b/target/linux/rdc/patches-2.6.30/011-use_host_lzma.patch
new file mode 100644
index 0000000000..5def7393fa
--- /dev/null
+++ b/target/linux/rdc/patches-2.6.30/011-use_host_lzma.patch
@@ -0,0 +1,8 @@
+--- a/scripts/Makefile.lib 2009-11-06 08:55:20.000000000 +0100
++++ b/scripts/Makefile.lib 2009-11-06 09:08:45.000000000 +0100
+@@ -204,4 +204,4 @@
+ # ---------------------------------------------------------------------------
+
+ quiet_cmd_lzma = LZMA $@
+-cmd_lzma = lzma e $< $@ -lc1 -lp2 -pb2 -eos
++cmd_lzma = (/usr/bin/lzma -9 -c $< ; $(size_append) $<) >$@ || (rm -f $@ ; false)