From owner-freebsd-arch@FreeBSD.ORG Sun Feb 13 00:17:53 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 EF0BF16A4CE for ; Sun, 13 Feb 2005 00:17:53 +0000 (GMT) Received: from mail27.sea5.speakeasy.net (mail27.sea5.speakeasy.net [69.17.117.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id B470F43D3F for ; Sun, 13 Feb 2005 00:17:53 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 22653 invoked from network); 13 Feb 2005 00:17:53 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail27.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Feb 2005 00:17:53 -0000 Received: from hydrogen.funkthat.com (felopi@localhost.funkthat.com [127.0.0.1])j1D0HrGH072272 for ; Sat, 12 Feb 2005 16:17:53 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id j1D0HqdI072271 for freebsd-arch@FreeBSD.org; Sat, 12 Feb 2005 16:17:52 -0800 (PST) Date: Sat, 12 Feb 2005 16:17:52 -0800 From: John-Mark Gurney To: freebsd-arch@FreeBSD.org Message-ID: <20050213001752.GA40468@funkthat.com> Mail-Followup-To: freebsd-arch@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Subject: buildenv target X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney 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:17:54 -0000 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 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."