Re: Linux kernel compilation project

Paul Barton-Davis (pbd@Op.Net)
Mon, 30 Nov 1998 21:39:45 -0500


>> desired choices. I can see how to do that for options such as
>> "bool", "tristate" or "dep_tristate", but how would such a system
>> deal with "int", "hex" or "choice", or other suchlike options?
>>
>Easy. For "choice" you randomly select one from the list. The others don't
>affect compilation and thus are irrelevant.

Hmm. Howabout:

#if CONFIG_SOME_OPTION == 4
...
#endif CONFIG_SOME_OPTION

I don't know of any such examples, and I haven't looked for them, but
its not true that in general, they can't affect compilation.

--p

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/