[kernel] fix the building of the lzo decompressor on some architectures
[10.03/openwrt.git] / target / linux / generic-2.6 / patches-2.6.33 / 997-lzo_decompressor_fix.patch
1 Index: linux-2.6.33/usr/Kconfig
2 ===================================================================
3 --- linux-2.6.33.orig/usr/Kconfig       2010-03-12 15:01:06.000000000 +0100
4 +++ linux-2.6.33/usr/Kconfig    2010-03-12 15:01:15.000000000 +0100
5 @@ -75,7 +75,7 @@
6  config RD_LZO
7         bool "Support initial ramdisks compressed using LZO" if EMBEDDED
8         default !EMBEDDED
9 -       depends on BLK_DEV_INITRD
10 +       depends on BLK_DEV_INITRD && HAVE_KERNEL_LZO
11         select DECOMPRESS_LZO
12         help
13           Support loading of a LZO encoded initial ramdisk or cpio buffer