Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760449AbZJIJCu (ORCPT ); Fri, 9 Oct 2009 05:02:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760416AbZJIJCt (ORCPT ); Fri, 9 Oct 2009 05:02:49 -0400 Received: from casper.infradead.org ([85.118.1.10]:50452 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760301AbZJIJCs (ORCPT ); Fri, 9 Oct 2009 05:02:48 -0400 Subject: Re: [PATCH] kbuild: save ARCH & CROSS_COMPILE when building a kernel From: Peter Zijlstra To: Sam Ravnborg Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20090720100157.GA6467@merkur.ravnborg.org> References: <20090720100157.GA6467@merkur.ravnborg.org> Content-Type: text/plain Date: Fri, 09 Oct 2009 11:02:09 +0200 Message-Id: <1255078929.17055.40.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 569 Lines: 17 On Mon, 2009-07-20 at 12:01 +0200, Sam Ravnborg wrote: > This works both for plain builds and for O=... > builds. > So now you can do: > $ mkdir sparc64 > $ make O=sparc64 ARCH=sparc64 CROSS_COMPILE=sparc64-linux- defconfig > $ cd sparc64 > $ make Like anyone who does a lot of cross builds will ever write that by hand.. -- 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/