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 15:30:36 +0100, 
Russell King <rmk@arm.linux.org.uk> wrote:
>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 their first line first.
>
>I'd rather that we fixed dep_* so that undefined symbols were treated as
>'n', just like the makefiles treat undefined symbols.

make config and oldconfig are shell scripts. They are limited to what
shells can do which includes "undefined variables are null", the
variable expansion is done before tristate and friends are invoked.
Of course, you could rewrite bash ...

Just put this down as one of the many "interesting" features of CML1,
put a band aid on it and move on to CML2.

-
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    [from the cache]
©2003-2011 Jasper Spaans