summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-01 14:55:15 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-01 14:55:15 +0000
commit882079c313415ca69603633d2bdc2b36edfecfac (patch)
treec1d626624c26109f512944c3fe88ad70cc95a04c /target/linux
parentb935c3432780e283f95dbbfb1b37e278833e70d2 (diff)
[kernel] prevent UML build failure against decompress_lzo.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19934 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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 3445b4ae9..c05c3833d 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 3445b4ae9..c05c3833d 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