CONFIG_XXX vs CONFIG_HAVE_XXX ?

Alexandre Ferrieux alexandre.ferrieux at gmail.com
Mon May 19 04:34:12 EDT 2025


On 18/05/2025 20:22, Siddh Raman Pant wrote:
> Sun, 18 May 2025 23:15:13 +0530  alexandre.ferrieux at gmail.com :
>> 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



More information about the Kernelnewbies mailing list