From ba3f8604da880c9af647e03633079c608fbbed38 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 1 Mar 2010 14:55:15 +0000 Subject: [PATCH] prevent UML build failure against decompress_lzo.c SVN-Revision: 19934 --- .../patches-2.6.31/053-lzo_compression_for_initramfs.patch | 2 +- .../patches-2.6.32/053-lzo_compression_for_initramfs.patch | 2 +- 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 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 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 3445b4ae98..c05c3833d0 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 -- 2.30.2