From owner-freebsd-arch@FreeBSD.ORG Sun Feb 13 00:39:59 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49DEE16A4CE for ; Sun, 13 Feb 2005 00:39:59 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51E5643D39 for ; Sun, 13 Feb 2005 00:39:58 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id j1D0dvsB021204; Sun, 13 Feb 2005 01:39:57 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John-Mark Gurney From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 12 Feb 2005 16:17:52 PST." <20050213001752.GA40468@funkthat.com> Date: Sun, 13 Feb 2005 01:39:57 +0100 Message-ID: <21203.1108255197@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-arch@freebsd.org Subject: Re: buildenv target X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2005 00:39:59 -0000 In message <20050213001752.GA40468@funkthat.com>, John-Mark Gurney writes: >Does anyone object to adding a buildenv target to our Makefile, so that >when crossbuilding you can get the tools setup in a shell. Useful for >doing crossbuild testing w/ a cross-built world eaiser. > >http://people.freebsd.org/~jmg/buildenv.patch > >so: >bash-2.05b$ which config >/usr/sbin/config >bash-2.05b$ make buildenv TARGET_ARCH=arm >Entering world for arm:arm >bash-2.05b$ which config >/usr/obj/arm/usr/home/jmg/arm/src/i386/legacy/usr/sbin/config Sounds like a good addition. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.