prevent UML build failure against decompress_lzo.c
authorFlorian Fainelli <florian@openwrt.org>
Mon, 1 Mar 2010 14:55:15 +0000 (14:55 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 1 Mar 2010 14:55:15 +0000 (14:55 +0000)
SVN-Revision: 19934

target/linux/generic-2.6/patches-2.6.31/053-lzo_compression_for_initramfs.patch
target/linux/generic-2.6/patches-2.6.32/053-lzo_compression_for_initramfs.patch

index 3445b4ae9830e3d1c2c32e30165836dc34e75157..c05c3833d05f2f40b34bd61bfa55447cf65b60b1 100644 (file)
@@ -58,7 +58,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
index 3445b4ae9830e3d1c2c32e30165836dc34e75157..c05c3833d05f2f40b34bd61bfa55447cf65b60b1 100644 (file)
@@ -58,7 +58,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