summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6
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
parentb1d3ace5ea385d6e5d2d6564c49704bacd71171c (diff)
downloadmtk-20170518-ba3f8604da880c9af647e03633079c608fbbed38.zip
mtk-20170518-ba3f8604da880c9af647e03633079c608fbbed38.tar.gz
mtk-20170518-ba3f8604da880c9af647e03633079c608fbbed38.tar.bz2
prevent UML build failure against decompress_lzo.c
SVN-Revision: 19934
Diffstat (limited to 'target/linux/generic-2.6')
-rw-r--r--target/linux/generic-2.6/patches-2.6.31/053-lzo_compression_for_initramfs.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/053-lzo_compression_for_initramfs.patch2
2 files changed, 2 insertions, 2 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 3445b4a..c05c383 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
diff --git a/target/linux/generic-2.6/patches-2.6.32/053-lzo_compression_for_initramfs.patch b/target/linux/generic-2.6/patches-2.6.32/053-lzo_compression_for_initramfs.patch
index 3445b4a..c05c383 100644
--- a/target/linux/generic-2.6/patches-2.6.32/053-lzo_compression_for_initramfs.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/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