From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Ravnborg Subject: Re: linux-next build poblems Date: Mon, 23 Jun 2008 22:51:33 +0200 Message-ID: <20080623205133.GA12278@uranus.ravnborg.org> References: <20080624022232.5c81519c.sfr@canb.auug.org.au> <20080623171023.GA16238@flint.arm.linux.org.uk> <20080623200702.GC8573@uranus.ravnborg.org> <20080623202156.GA12027@uranus.ravnborg.org> <20080623203249.GB16238@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from pasmtpb.tele.dk ([80.160.77.98]:52336 "EHLO pasmtpB.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752182AbYFWUus (ORCPT ); Mon, 23 Jun 2008 16:50:48 -0400 Content-Disposition: inline In-Reply-To: <20080623203249.GB16238@flint.arm.linux.org.uk> Sender: linux-next-owner@vger.kernel.org List-ID: To: Russell King Cc: Stephen Rothwell , Haavard Skinnemoen , Paul Mundt , linux-next@vger.kernel.org On Mon, Jun 23, 2008 at 09:32:49PM +0100, Russell King wrote: > On Mon, Jun 23, 2008 at 10:21:56PM +0200, Sam Ravnborg wrote: > > > > > > I need to work out something. > > > But my first attemps failed miserably and I will stop for now > > > as I have some day-time job stuff to be done. > > > Travelling for a few days from now one so I cannot do anything > > > until the weekend. > > I came up with the following fix. > > And I fixed an arm tool chain for my box so I could check it. > > > > We can now build an arm kernel (or at least the first steps). > > > > I have pushed it out to kbuild-next.git. > > And I will redo the patch series later so we do not bisect break arm etc. > > Silly question, but what's wrong with restoring the symlink in the > build include/ directory? The asm-offsets.h file should always be generated in the same directory. And that is include/asm-$ARCH today. But if we move include/asm-$ARCH to arch/$ARCH/include then that directory no longer exists. And I wanted to avoid adding generated files to arch/$ARCH/include so the obvious choice was to generate the asm-offsets.h file in include/asm which works in make O=... and 'normal' builds. And because I were facing problams when asm was a symlink I went for the solution with asm being a directory. But then arm creates asm-arm as a directory too. So I can try to see of I can make asm a symlink again to asm-$ARCH. Adding a include3 directory is not my preferred solution. Sam