Subject: Re: newcommer to building current...help please.
To: Antti Kantee <pooka@iki.fi>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 01/30/2002 09:24:36
On Wed, 30 Jan 2002, Frederick Bruckman wrote:

> On Wed, 30 Jan 2002, Antti Kantee wrote:
>
> > Why should USETOOLS=whatever not be there? Let's say I have a clean
> > install for which I only download the kernel source and wish to build
> > it. Is there a better way of doing it than setting USETOOLS=no in
> > /etc/mk.conf?
>
> kernels builds don't use the new toolchain by default. Setting
> USETOOLS=yes in /etc/mk.conf would cause it to, but if you need to do
> that, you may as well use "nbconfig" and "nbmake-<arch>" from the
> tools/bin directory, and then you can just set it on the command line.

Correction: USETOOLS is set unconditionally in bsd.own.mk, same for
USE_NEW_TOOLCHAIN, so trying to set them in ${MAKECONF} will mostly have
no effect. If you need or want to twiddle USETOOLS, you *have* to do it
on the "make" command line.

Frederick