Re: linux-2.4.6-pre6: numerous dep_{bool,tristate} $CONFIG_ARCH_xxx bugs

From: Keith Owens (
Date: Fri Jun 29 2001 - 09:21:09 EST

On Fri, 29 Jun 2001 07:10:51 -0700,
"Adam J. Richter" <> wrote:
> The files in linux-2.4.6-pre6 have at least 28 cases
>where a dep_bool or dep_tristate of the following form:
> I will put together patch to convert this to ugly but correct
>"if then; ... ; fi" statements later today if nobody has any better

Create arch/ which contains

  define_bool CONFIG_ARCH_i386 n
  define_bool CONFIG_ARCH_ia64 n
  define_bool CONFIG_ARCH_sparc n

etc., then change each of the arch/xxx/ files to
source arch/ as their first line first. Still ugly but the
mainline configs will be much more readable. It also guarantees that
any future tests on $CONFIG_ARCH_somearch will work, even if the code
does not use if statements.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:22 EST