Re: [PATCH v6 3/5] x86/cpufeatures: Generate a feature mask header based on build config

From: Borislav Petkov
Date: Wed Mar 05 2025 - 17:05:38 EST


On Tue, Mar 04, 2025 at 11:30:43PM -0800, Xin Li wrote:
> > Why do you even need featuremasks_hdr as a prereq?
>
> I'm not sure I'm calling it a prereq;

That's what this is called:

https://www.gnu.org/software/make/manual/html_node/Rule-Introduction.html

A prerequisite to a target, latter being "archheaders" in this case.

> Sorry for the build noise. Ofc they should be zapped.
>
> BTW, I'm asking if this build check could be added to Intel-LKP.

Good idea.

> However it needs to change Makefile in the root directory, which is not
> maintained in tip, so I will send a separate patch to KERNEL BUILD
> maintainers and list. Make sense?

Ditto.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette