Re: CONFIG_XXX vs CONFIG_HAVE_XXX ?

Alexandre Ferrieux <[email protected]> Mon, 19 May 2025 10:34:12 +0200
Newsgroups gmane.linux.kernel.kernelnewbies
Organization Orange
Message-ID <[email protected]>
On 18/05/2025 20:22, Siddh Raman Pant wrote:
> Sun, 18 May 2025 23:15:13 +0530  [email protected] :
>> What is the rationale behind having, for some feature XXX, both configuration
>> macros CONFIG_XXX and CONFIG_HAVE_XXX ?
> 
> 
> CONFIG_HAVE_XXX -> XXX is supported.
> CONFIG_XXX -> Enable XXX.
> 
> 
> XXX may not be available on an arch, for eg.

Ah yes, so the *_HAVE_* series are automatically-detected compatibility hints,
rather than actual human-selectable configuration decisions. Makes sense, thanks!

-Alex