Return-Path: Received: from cantor.suse.de ([195.135.220.2]:57269 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755295Ab1BKPNS (ORCPT ); Fri, 11 Feb 2011 10:13:18 -0500 Date: Fri, 11 Feb 2011 16:13:16 +0100 From: Michal Marek Subject: Re: Specific processing during user space header generation Message-ID: <20110211151316.GA18745@sepie.suse.cz> References: <4D532BEF.1040602@zytor.com> <20110210055459.GA31333@merkur.ravnborg.org> <4D547B0C.9020508@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D547B0C.9020508@zytor.com> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: "H. Peter Anvin" Cc: Sam Ravnborg , linux-kbuild@vger.kernel.org On Thu, Feb 10, 2011 at 03:55:56PM -0800, H. Peter Anvin wrote: > 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? Something like this should work. Michal