buildenv target

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Feb 12 16:39:59 PST 2005


In message <20050213001752.GA40468 at 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 at 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.


More information about the freebsd-arch mailing list