Re: Specific processing during user space header generation

H. Peter Anvin
2011-02-10T23:56:06Z

On 02/09/2011 09:54 PM, Sam Ravnborg wrote:
> On Wed, Feb 09, 2011 at 04:06:07PM -0800, H. Peter Anvin wrote:
>> I'm stuck with a problem where a header needs specific postprocessing in
>> addition to what headers_install.pl does. Is that possible as things
>> currently sit, or will that require changes to the core kbuild scripts?
> You will nned to patch core kbuild.
> We do no processing apart from headers_install.pl - so there is no place
> to hook in.
> And headers_install.pl has not been prepared to do any tricks like that.

Would you (plural) consider a patchset looking something like:

when processing foo.h, also look for foo.h.pl; if so, invoke that from
inside headers_install.pl?

-hpa