Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754222AbXJIJ7I (ORCPT ); Tue, 9 Oct 2007 05:59:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751656AbXJIJ7A (ORCPT ); Tue, 9 Oct 2007 05:59:00 -0400 Received: from pasmtpa.tele.dk ([80.160.77.114]:42054 "EHLO pasmtpA.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbXJIJ67 (ORCPT ); Tue, 9 Oct 2007 05:58:59 -0400 Date: Tue, 9 Oct 2007 12:00:30 +0200 From: Sam Ravnborg To: Andi Kleen Cc: kbuild devel , LKML Subject: Re: [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE Message-ID: <20071009100030.GA22475@uranus.ravnborg.org> References: <20071008200255.GA16497@uranus.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 928 Lines: 26 On Tue, Oct 09, 2007 at 11:39:21AM +0200, Andi Kleen wrote: > Sam Ravnborg writes: > > > > -ARCH ?= $(SUBARCH) > > -CROSS_COMPILE ?= > > Can you do this in a way that there are still these ARCH/CROSS_COMPILE > lines that are just overriden when empty or have their default value? > > This way defaults could be still patched in for special cases. If it is OK to drop the $(SUBARCH) assingment like this then yes. ARCH ?= CROSS_COMPILE ?= I was wondering why we had the empty CROSS_COMPILE assigment and this explains why. But why patch something in here in the fisrt place? It seems to be a workaround for the actual issue this patch addresses - no? 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/