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

2001-06-30 Thread Adam J. Richter
>From: Russell King <[EMAIL PROTECTED]> >On Sat, Jun 30, 2001 at 08:26:22AM +0100, Alan Cox wrote: >> #2 >> dep_tristate $FOO $BAR >> >> to say 'FOO requires BAR and must be a similar setting _IF_CONFIGURED_' >Err, how can $BAR be undefined? Configure sets all config variables which >are a

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

2001-06-29 Thread Russell King
On Sat, Jun 30, 2001 at 12:21:09AM +1000, Keith Owens wrote: > Create arch/Config.in 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/Config.in files to > source arch/Config.in as

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

2001-06-29 Thread Jeff Garzik
"Adam J. Richter" wrote: > I will put together patch to convert this to ugly but correct > "if then; ... ; fi" statements later today if nobody has any better > suggestions. Don't dirty up the Config.in. Define CONFIG_ARCH_xxx in various arches where needed. Some, like CONFIG_X86 for ex

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

2001-06-29 Thread Keith Owens
On Fri, 29 Jun 2001 07:10:51 -0700, "Adam J. Richter" <[EMAIL PROTECTED]> wrote: > The Config.in files in linux-2.4.6-pre6 have at least 28 cases >where a dep_bool or dep_tristate of the following form: > dep_bool CONFIG_SOMETHING $CONFIG_ARCH_somearch > I will put together patc

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

2001-06-29 Thread Adam J. Richter
The Config.in files in linux-2.4.6-pre6 have at least 28 cases where a dep_bool or dep_tristate of the following form: dep_bool CONFIG_SOMETHING $CONFIG_ARCH_somearch The problem with this is that, unlike most configuration variables, the $CONFIG_ARCH_ variables are