From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Marek Subject: Re: [PATCH v5] kbuild: asm-generic support Date: Thu, 28 Apr 2011 18:16:57 +0200 Message-ID: <20110428161657.GA1619@sepie.suse.cz> References: <20110108130302.GA21698@merkur.ravnborg.org> <20110427194225.GA6551@merkur.ravnborg.org> <20110427194647.GA6621@merkur.ravnborg.org> <201104272152.37889.arnd@arndb.de> <20110427202949.GA8881@merkur.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cantor2.suse.de ([195.135.220.15]:49195 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752327Ab1D1QRA (ORCPT ); Thu, 28 Apr 2011 12:17:00 -0400 Content-Disposition: inline In-Reply-To: <20110427202949.GA8881@merkur.ravnborg.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Sam Ravnborg Cc: Arnd Bergmann , Remis Lima Baima , Guan Xuetao , 'lkml' , 'linux-kbuild' , 'linux arch' , 'Guan Xuetao' On Wed, Apr 27, 2011 at 10:29:49PM +0200, Sam Ravnborg wrote: > From 1b46234aa99f235b48dce0068fb5fb56ddf6ddab Mon Sep 17 00:00:00 2001 > From: Sam Ravnborg > Date: Fri, 22 Apr 2011 14:45:13 +0200 > Subject: [PATCH] kbuild: asm-generic support > > There is an increasing amount of header files > shared between individual architectures in asm-generic. > To avoid a lot of dummy wrapper files that just > include the corresponding file in asm-generic provide > some basic support in kbuild for this. > > With the following patch an architecture can maintain > a list of files in the file arch/$(ARCH)/include/asm/Kbuild > > To use a generic file just add: > > generic-y += > > For each file listed kbuild will generate the necessary > wrapper in arch/$(ARCH)/include/generated/asm. > > When installing userspace headers a wrapper is likewise created. > > The original inspiration for this came from the unicore32 > patchset - although a different method is used. > > The patch includes several improvements from Arnd Bergmann. > Michael Marek contributed Makefile.asm-generic. > > Remis Baima did an intial implementation along to achive > the same - see https://patchwork.kernel.org/patch/13352/ > > Signed-off-by: Sam Ravnborg > Acked-by: Guan Xuetao > Tested-by: Guan Xuetao > Acked-by: Arnd Bergmann > Cc: Remis Lima Baima > --- > > Changes from v4 => v5 > - Mentioned Remis in changelog (thanks to Arnd) > - Added "Acked-by" from Arnd Applied to kbuild-2.6.git#kbuild, thanks a lot! Michal