aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.34/997-lzo_decompressor_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-2.6.34/997-lzo_decompressor_fix.patch')
-rw-r--r--target/linux/generic/patches-2.6.34/997-lzo_decompressor_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.34/997-lzo_decompressor_fix.patch b/target/linux/generic/patches-2.6.34/997-lzo_decompressor_fix.patch
new file mode 100644
index 0000000000..450986538d
--- /dev/null
+++ b/target/linux/generic/patches-2.6.34/997-lzo_decompressor_fix.patch
@@ -0,0 +1,11 @@
+--- a/usr/Kconfig
++++ b/usr/Kconfig
+@@ -75,7 +75,7 @@ config RD_LZMA
+ 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