Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759935Ab1D0Tws (ORCPT ); Wed, 27 Apr 2011 15:52:48 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:59071 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759891Ab1D0Twp (ORCPT ); Wed, 27 Apr 2011 15:52:45 -0400 From: Arnd Bergmann To: Sam Ravnborg Subject: Re: [PATCH v4] kbuild: asm-generic support Date: Wed, 27 Apr 2011 21:52:37 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.39-rc4+; KDE/4.5.1; x86_64; ; ) Cc: Guan Xuetao , Michal Marek , "'lkml'" , "'linux-kbuild'" , "'linux arch'" , "'Guan Xuetao'" , Remis Lima Baima References: <20110108130302.GA21698@merkur.ravnborg.org> <20110427194225.GA6551@merkur.ravnborg.org> <20110427194647.GA6621@merkur.ravnborg.org> In-Reply-To: <20110427194647.GA6621@merkur.ravnborg.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104272152.37889.arnd@arndb.de> X-Provags-ID: V02:K0:IDTW/vVIvgRjBrr+JuPNQWLmIPnrqjAyeOpBEViPg2J zeJl/yPjiaqZjtN5TNwgkbkY6AJIm6r7omBnKwG8OJR22cytjW c4oq1I55V1pB2l3Dw5yGRZDuYj6zsVwLQ3HU9eoOts1U2YmRzk S3yB6AROZVGkrIAPk0AbsjK8/MMjHjY5rZn0n/8n0H8Y0p+95x olWi3cgHNbH8XyJLdxjsQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1905 Lines: 51 On Wednesday 27 April 2011 21:46:47 Sam Ravnborg wrote: > From 8546953f0c87d6b1c37c25df73511780c86ad89d 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. > > Signed-off-by: Sam Ravnborg > Acked-by: Guan Xuetao > Tested-by: Guan Xuetao > Cc: Arnd Bergmann Acked-by: Arnd Bergmann I'm glad to see this finally happen. Maybe you can mention Remis Baima in the changelog as well, he did an earlier implementation back in the days when some architectures were still using include/asm-${ARCH}, which IIRC did not get merged because of the complexity associated with that. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/