summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-12 14:24:12 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-12 14:24:12 +0000
commitcc7e88fe961c1bfd11f34f00a0f42d9ee45bf94a (patch)
tree43396f6c6bed4b2039026d772518a1cc33383da9 /target/linux
parentedf26e5c98c635f797000fdfd1d60c41d09d2bc4 (diff)
[kernel] fix the building of the lzo decompressor on some architectures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20157 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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 000000000..3f8ce270e
--- /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