lkml.org 
[lkml]   [2000]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
In the .config file, the problem is that the Makefiles source .config and
then do a lot of "ifdef CONFIG_FOO" tests. There are about 300 instances
of this in 2.4.0-test-7.

In include/linux/autoconf.h, the problem is in the *.c (and *.h and *.S)
files that do a lot of "#ifdef CONFIG_BAR" and "#if defined(CONFIG_BLETCH)
tests. There are about 8000 instances of this in 2.4.0-test-7.

Even worse, any third-party module source is likely to contain the same
"#ifdef CONFIG_BAR" tests. Changing the definitions of CONFIG_BAR will
silently break all of them.

I'm all in favor of 'if ( CONFIG_BAR )', but I think it will have to be
'if ( CONFIG_BAR - 0 )' if you want to use them any time soon.

Michael
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.035 / U:1.508 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site