summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.33
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-12 14:24:12 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-12 14:24:12 +0000
commitf93c17cba4ba2c4b7780c5c4c04c3358a6c04d0e (patch)
tree43c4d623397223eeca52cf98526796d06e9cfea5 /target/linux/generic-2.6/patches-2.6.33
parent0c13287c9d5477a9f77786752c7e1198daa815e5 (diff)
downloadmtk-20170518-f93c17cba4ba2c4b7780c5c4c04c3358a6c04d0e.zip
mtk-20170518-f93c17cba4ba2c4b7780c5c4c04c3358a6c04d0e.tar.gz
mtk-20170518-f93c17cba4ba2c4b7780c5c4c04c3358a6c04d0e.tar.bz2
fix the building of the lzo decompressor on some architectures
SVN-Revision: 20157
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.33')
-rw-r--r--target/linux/generic-2.6/patches-2.6.33/997-lzo_decompressor_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.33/997-lzo_decompressor_fix.patch b/target/linux/generic-2.6/patches-2.6.33/997-lzo_decompressor_fix.patch
new file mode 100644
index 0000000..3f8ce27
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.33/997-lzo_decompressor_fix.patch
@@ -0,0 +1,13 @@
+Index: linux-2.6.33/usr/Kconfig
+===================================================================
+--- linux-2.6.33.orig/usr/Kconfig 2010-03-12 15:01:06.000000000 +0100
++++ linux-2.6.33/usr/Kconfig 2010-03-12 15:01:15.000000000 +0100
+@@ -75,7 +75,7 @@
+ config RD_LZO
+ bool "Support initial ramdisks compressed using LZO" if EMBEDDED
+ default !EMBEDDED
+- depends on BLK_DEV_INITRD
++ depends on BLK_DEV_INITRD && HAVE_KERNEL_LZO
+ select DECOMPRESS_LZO
+ help
+ Support loading of a LZO encoded initial ramdisk or cpio buffer