Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2005 14:25:41 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        des@des.no (Dag-Erling =?windows-1252?q?Sm=F8rgrav?=)
Cc:        Jeff Smick <sprsquish@gmail.com>
Subject:   Re: ATAPICAM Problem
Message-ID:  <200503281425.41308.jhb@FreeBSD.org>
In-Reply-To: <86wtrtuqla.fsf@xps.des.no>
References:  <20050317164859.4476A5D08@ptavv.es.net> <200503241544.51914.jhb@FreeBSD.org> <86wtrtuqla.fsf@xps.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 27 March 2005 09:10 am, Dag-Erling Sm=F8rgrav wrote:
> John Baldwin <jhb@FreeBSD.org> writes:
> > Note that many developers tend to only use the config / make depend /
> > make method as it is more natural if you are working on the kernel.  ma=
ke
> > buildkernel is better suited for users on non-development machines
> > however.
>
> 'make buildkernel' works just fine for developers.  It's just a matter
> of habit, and of knowing how to use NO_KERNELCLEAN, NO_KERNELDEPEND,
> and MODULES_OVERRIDE.

I find it useful for cross builds, but cd ~/work/p4/foo/<arch>/compile/BLAH=
 ;=20
make is significantly shorter than

make buildkernel NO_KERNELCLEAN=3Dyes NO_KERNELDEPEND=3Dyes NO_KERNELCONFIG=
=3Dyes=20
KERNSRCDIR=3D/home/john/work/p4/foo KERNCONF=3DBLAH

It's also much faster, especially when building LINT and fixing typos and=20
syntax errors after a tree-wide sweep due to an API change.

=2D-=20
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =3D  http://www.FreeBSD.org



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