aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.31
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-01 14:55:15 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-01 14:55:15 +0000
commitba3f8604da880c9af647e03633079c608fbbed38 (patch)
treefc2ecb16f428c41b13b158eaac1bceab1a7b6dc8 /target/linux/generic-2.6/patches-2.6.31
parentb1d3ace5ea385d6e5d2d6564c49704bacd71171c (diff)
downloadupstream-ba3f8604da880c9af647e03633079c608fbbed38.tar.gz
upstream-ba3f8604da880c9af647e03633079c608fbbed38.tar.bz2
upstream-ba3f8604da880c9af647e03633079c608fbbed38.zip
prevent UML build failure against decompress_lzo.c
SVN-Revision: 19934
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.31')
-rw-r--r--target/linux/generic-2.6/patches-2.6.31/053-lzo_compression_for_initramfs.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.31/053-lzo_compression_for_initramfs.patch b/target/linux/generic-2.6/patches-2.6.31/053-lzo_compression_for_initramfs.patch
index 3445b4ae98..c05c3833d0 100644
--- a/target/linux/generic-2.6/patches-2.6.31/053-lzo_compression_for_initramfs.patch
+++ b/target/linux/generic-2.6/patches-2.6.31/053-lzo_compression_for_initramfs.patch
@@ -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