lkml.org 
[lkml]   [2001]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux-2.4.6-pre6: numerous dep_{bool,tristate} $CONFIG_ARCH_xxx bugs
Date
On Fri, 29 Jun 2001 07:10:51 -0700, 
"Adam J. Richter" <adam@yggdrasil.com> 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 patch to convert this to ugly but correct
>"if then; ... ; fi" statements later today if nobody has any better
>suggestions.

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 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.306 / U:0.072 seconds]
©2003-2011 Jasper Spaans. Advertise on this site