From: Florian Fainelli Date: Mon, 1 Mar 2010 14:55:15 +0000 (+0000) Subject: prevent UML build failure against decompress_lzo.c X-Git-Tag: v19.07.0-rc1~31518 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ba3f8604da880c9af647e03633079c608fbbed38;p=openwrt%2Fstaging%2Fhauke.git prevent UML build failure against decompress_lzo.c SVN-Revision: 19934 --- 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