Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 13:15:27 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: stupid question about compiling the kernel
Message-ID:  <fn22dc$iel$1@ger.gmane.org>
In-Reply-To: <E1JGvTG-0004vR-9i@dilbert.ticketswitch.com>
References:  <E1JGvTG-0004vR-9i@dilbert.ticketswitch.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Pete French wrote:
> if I;ve chhanged one line of one file, how can I recompile without
> going back to the top and doing a 'make buildkernel' so I just recompile
> that one file ? It's getting a bit tedious to wait 40 minutes when I've
> only chnaged one line - is there a better way ?

1. Go to your kernel configuration directory (e.g. /sys/i386/conf)
2. run "config CONFNAME" (e.g. config GENERIC)
3. chdir to the printed directory and follow the instructions about make
cleandepend;make depend;make; make install

(if you need to re-make the kernel with changes to existing files, you
can skip the make clean; make depend steps).


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHlIzrldnAQVacBcgRApCtAJ9pTDdr3YwhgsDDnNug+e+Ng4aBLQCg2j6k
dJPAB6ufceHqrapeiXUnXhQ=
=nGEw
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fn22dc$iel$1>