Re: [PATCH] fs/nls/Config.in

From: Tom Rini (trini@kernel.crashing.org)
Date: Thu Oct 19 2000 - 13:45:03 EST


On Thu, Oct 19, 2000 at 08:29:47PM +0000, Petr Vandrovec wrote:

> It is not correct. At first, duplicated define_bool breaks xconfig (AFAIK),
> and worse, first test is ignored at all by your code. Maybe something
> like (untested)
>
> if [ "$CONFIG_SMB_FS" = "m" -o "$CONFIG_SMB_FS" = "y" ]; then
> define_bool CONFIG_SMB_NLS y
> else
> define_bool CONFIG_SMB_NLS n
> fi
>
> if [ "$CONFIG_JOLIET" = "y" -o "$CONFIG_FAT_FS" != "n" \
> -o "$CONFIG_NTFS_FS" != "n" -o "$CONFIG_NCPFS_NLS" = "y" \
> -o "$CONFIG_SMB_NLS" = "y"; then
> define_bool CONFIG_NLS y
> else
> define_bool CONFIG_NLS n
> fi
>
> could work (I did not checked whether CONFIG_FAT_FS & CONFIG_NTFS_FS
> are always defined).

This works as well, and FAT and NTFS are always defined.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:15 EST