buildenv target

[ Available lists | Index of freebsd-arch | Month of Feb 2005 | Week of 13 Feb 2005 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Date
13 Feb 2005 00:17:53
Subject
buildenv target
Message-ID
20050213001752.GA40468@funkthat.com


[ Hide this part ]
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."


Elapsed time: 0.100 seconds