Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758497AbYG3Iwm (ORCPT ); Wed, 30 Jul 2008 04:52:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752756AbYG3Iwe (ORCPT ); Wed, 30 Jul 2008 04:52:34 -0400 Received: from smtpout3.tre.se ([80.251.192.228]:35775 "EHLO smtpout3.tre.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752338AbYG3Iwd (ORCPT ); Wed, 30 Jul 2008 04:52:33 -0400 Date: Wed, 30 Jul 2008 10:52:19 +0200 From: Sam Ravnborg To: Arnd Bergmann Cc: Greg Ungerer , linux arch , LKML Subject: Re: kbuild now support arch/$ARCH/include - time for ARCHs to convert Message-ID: <20080730085219.GA18585@uranus.ravnborg.org> References: <20080728200500.GA14284@uranus.ravnborg.org> <48900EE4.8030606@snapgear.com> <200807300907.25186.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200807300907.25186.arnd@arndb.de> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1316 Lines: 30 On Wed, Jul 30, 2008 at 09:07:24AM +0200, Arnd Bergmann wrote: > On Wednesday 30 July 2008, Greg Ungerer wrote: > > I just tried moving the include/asm-m68knommu directory > > to arch/m68knommu/include/asm and it all worked fine. > > Clean compile first go :-) ?Nice. ?(As noted > > asm-offsets.h was still generated in incldue/asm-m68knommu > > afterwards though). > > I think the more interesting aspect in m68knommu is what happens > when asm-m68k gets moved. Does that work as well? > > I think the best way to deal with it is to remove all files > that just include an asm-m68k file with the same name, and > add -Iarch/m68k/include to your CFLAGS. Not sure about 'make > headers_install', if there is an easy way to install the > files from each of the two directories correctly. We had ALTARCH that I just killed as sparc was the only user. And if we need something again I will try to come up with something better somehow. But m68knommu does no export any files atm, and m68k exports only a single file. So I doubt it is actually used by gcc/glibc atm. Sam -- 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/