aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.30/011-use_host_lzma.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-11-06 08:42:41 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-11-06 08:42:41 +0000
commite4d510ded1fca0d82e583c3855b66968f969b5f0 (patch)
tree3412d662e527fb345c7cc421357122d403f1b127 /target/linux/rdc/patches-2.6.30/011-use_host_lzma.patch
parent4d0f1ae9545590045ab7db57515596948f858a5b (diff)
downloadmaster-187ad058-e4d510ded1fca0d82e583c3855b66968f969b5f0.tar.gz
master-187ad058-e4d510ded1fca0d82e583c3855b66968f969b5f0.tar.bz2
master-187ad058-e4d510ded1fca0d82e583c3855b66968f969b5f0.zip
[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)