openwrtv4/target/linux/generic/patches-2.6.37/258-lzo_decompressor_kconfig_dep.patch
Felix Fietkau a1624421ae kernel: reorganize 2.6.37 patches
SVN-Revision: 26692
2011-04-16 18:31:21 +00:00

11 lines
345 B
Diff

--- 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