Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751053AbWEEJ42 (ORCPT ); Fri, 5 May 2006 05:56:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751079AbWEEJ42 (ORCPT ); Fri, 5 May 2006 05:56:28 -0400 Received: from host-84-9-201-231.bulldogdsl.com ([84.9.201.231]:11510 "EHLO aeryn.fluff.org.uk") by vger.kernel.org with ESMTP id S1751053AbWEEJ42 (ORCPT ); Fri, 5 May 2006 05:56:28 -0400 Date: Fri, 5 May 2006 10:56:04 +0100 From: Ben Dooks To: Dan Merillat Cc: linux-kernel@vger.kernel.org Subject: Re: Kbuild + Cross compiling Message-ID: <20060505095604.GA19892@home.fluff.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Disclaimer: I speak for me, myself, and the other one of me. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1146 Lines: 27 On Thu, May 04, 2006 at 09:52:56PM -0400, Dan Merillat wrote: > I must be an idiot, but why does Kbuild rebuild every file when > cross-compiling? > I'm not editing .config or touching any headers, I'm making tweaks to > a single .c driver, > and it is taking forever due to continual full-rebuilds. > > building on i386 for ARCH=arm CROSS_COMPILE=arm-linux-uclibc- > > I tried following the logic, but everything is a forced build using > if_changed and if_changed_dep, and I can't read GNU Make well enough > to figure out what it thinks is new. I know make -d says all the > dependancies are up-to-date, so it's being forced some other way. I do not see the problem building ARM kernels using i386 so this is possibly specific to the setup, or something you are doing, like changing compiler or compiler options. -- Ben (ben@fluff.org, http://www.fluff.org/) 'a smiley only costs 4 bytes' - 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/