Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 01:39:57 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: buildenv target 
Message-ID:  <21203.1108255197@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 12 Feb 2005 16:17:52 PST." <20050213001752.GA40468@funkthat.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21203.1108255197>