lkml.org 
[lkml]   [2008]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH take 3 29/29] UBIFS: include FS to compilation
On Mon, May 26, 2008 at 05:05:43PM +0300, Artem Bityutskiy wrote:
>...
> --- /dev/null
> +++ b/fs/ubifs/Kconfig
> @@ -0,0 +1,71 @@
> +config UBIFS_FS
> + tristate "UBIFS file system support"
> + select CRC16
> + select CRC32
> + depends on MTD_UBI
> + help
> + UBIFS is a file system for flash devices which works on top of UBI.
>...
> +config UBIFS_FS_LZO
> + bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR
> + select CRYPTO
> + select CRYPTO_LZO
> + depends on UBIFS_FS
> + default y
> + help
> + LZO compressor is generally faster then zlib but compresses worse.
> + Say 'Y' if unsure.
>...

Please change this and similar other options to:

config UBIFS_FS
tristate "UBIFS file system support"
select CRC16
select CRC32
select CRYPTO if UBIFS_FS_LZO
select CRYPTO_LZO if UBIFS_FS_LZO
depends on MTD_UBI
...

config UBIFS_FS_LZO
bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR
depends on UBIFS_FS
...


This way UBIFS_FS=m, UBIFS_FS_LZO=y will only force CRYPTO_LZO=m and not
CRYPTO_LZO=y.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed



\
 
 \ /
  Last update: 2008-05-28 00:11    [W:0.157 / U:0.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site