summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/linux-2.6.22.1-002-lzma-vmlinuz.01.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-24 16:34:28 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-24 16:34:28 +0000
commit134a26b0faf10a4aabf5ce6023f2d84fdcf2c4bb (patch)
tree73b529e10fd9659894d0a532cb586b4aa6ec72c6 /toolchain/kernel-headers/linux-2.6.22.1-002-lzma-vmlinuz.01.patch
parent049f3fc20a6149b4794965b401cfd6a341b42d42 (diff)
downloadbuildroot-novena-134a26b0faf10a4aabf5ce6023f2d84fdcf2c4bb.tar.gz
buildroot-novena-134a26b0faf10a4aabf5ce6023f2d84fdcf2c4bb.zip
- adjust lzma arguments for current version
Diffstat (limited to 'toolchain/kernel-headers/linux-2.6.22.1-002-lzma-vmlinuz.01.patch')
-rw-r--r--toolchain/kernel-headers/linux-2.6.22.1-002-lzma-vmlinuz.01.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/linux-2.6.22.1-002-lzma-vmlinuz.01.patch b/toolchain/kernel-headers/linux-2.6.22.1-002-lzma-vmlinuz.01.patch
index 5949a1136..05361ff9d 100644
--- a/toolchain/kernel-headers/linux-2.6.22.1-002-lzma-vmlinuz.01.patch
+++ b/toolchain/kernel-headers/linux-2.6.22.1-002-lzma-vmlinuz.01.patch
@@ -31,3 +31,24 @@ diff -rdup linux-2.6.21.5.oorig/scripts/gen_lzma_initramfs_list.sh linux-2.6.21.
[ -z ${cpio_file} ] && rm ${cpio_tfile}
fi
exit 0
+--- linux-2.6.21.5.oorig/arch/i386/boot/compressed/lzma_misc.c 2007-07-24 15:24:44.000000000 +0200
++++ linux-2.6.21.5/arch/i386/boot/compressed/lzma_misc.c 2007-07-24 17:09:40.000000000 +0200
+@@ -241,7 +241,6 @@ static int lzma_unzip(uch* output)
+
+ static int read_byte(void *object, const unsigned char **buffer, SizeT *bufferSize)
+ {
+- static unsigned int i = 0;
+ static unsigned char val;
+ *bufferSize = 1;
+ val = get_byte();
+--- linux-2.6.21.5.oorig/scripts/Makefile.lib 2007-07-24 15:24:44.000000000 +0200
++++ linux-2.6.21.5/scripts/Makefile.lib 2007-07-24 18:03:57.000000000 +0200
+@@ -165,6 +165,7 @@ cmd_gzip = gzip -f -9 < $< > $@
+ # LZMA
+ #
+ quiet_cmd_lzma = LZMA $@
+-cmd_lzma = lzma e $< $@ -lc7 -lp0 -pb0 2>/dev/null
++#cmd_lzma = lzma e $< $@ -lc7 -lp0 -pb0 2>/dev/null
++cmd_lzma = lzma -z $< -c > $@
+
+