Date: 16 Jul 2000 07:08:20 +0200 From: Cyrille Lefevre <clefevre%no-spam@citeweb.net> To: "Daniel C. Sobral" <dcs@newsguy.com> Cc: Brad Knowles <blk@skynet.be>, Peter van Heusden <pvh@egenetics.com>, stable@FreeBSD.ORG Subject: kernel.debug (was Re: HEADS UP! Always use the 'make buildkernel' target to make your kernels) Message-ID: <hf9q1x2z.fsf_-_@pc166.gits.fr> In-Reply-To: "Daniel C. Sobral"'s message of "Sat, 15 Jul 2000 01:48:35 %2B0900" References: <Pine.BSF.4.21.0007111324170.27918-100000@fling.sanbi.ac.za> <v0422080fb590c5bfdca5@[195.238.1.121]> <396F4463.978AE0DA@newsguy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Daniel C. Sobral" <dcs@newsguy.com> writes:
> Brad Knowles wrote:
> >
> > At 1:29 PM +0200 2000/7/11, Peter van Heusden wrote:
> >
> > > My only (minor) concern, from a useability point of view, is that there is
> > > no default BUILDKERNEL value - shouldn't it default to GENERIC if nothing
> > > else is specified? That way you won't actually be able to do a
> > > 'buildkernel' without building a kernel.
> >
> > Hmm. Good idea. Until then, this needs to be mentioned in the
> > documentation.
>
> Notice that KERNEL can be set from make.conf, and there is a default in
> there. Either it is commented out, or the complain just apply to the
> first time around, before running mergemaster.
what about to compile a kernel w/ debugging informations from buildkernel target ?
and about parallel make ?
Makefile.inc1 would have something like :
.if defined(DEBUG)
CONFIGARGS+= -g
.endif
KMAKEARGS=
.if defined(JOBS)
KMAKEARGS+= -j$(JOBS)
.endif
.if defined(DEBUG)
KMAKEARGS+= DEBUG=-g
.endif
...
${WMAKEENV} MACHINE=${MACHINE} KERNEL=${_kernel} ${MAKE} ${KMAKEARGS} all
.endfor
also, why the kernel object are in /usr/obj/.../sys/<KERNEL> and not in
/usr/obj/.../sys/compile/<KERNEL> which match more the old way ?
Cyrille.
--
home:mailto:clefevre%no-spam@citeweb.net Supprimer "%no-spam" pour me repondre.
work:mailto:Cyrille.Lefevre%no-spam@edf.fr Remove "%no-spam" to answer me back.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hf9q1x2z.fsf_-_>
