From owner-freebsd-hackers Sat Jun 2 4:31:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-66.dsl.lsan03.pacbell.net [63.207.60.66]) by hub.freebsd.org (Postfix) with ESMTP id 7324237B424 for ; Sat, 2 Jun 2001 04:31:51 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 411DB673A5; Sat, 2 Jun 2001 04:31:46 -0700 (PDT) Date: Sat, 2 Jun 2001 04:31:45 -0700 From: Kris Kennaway To: Peter Pentchev Cc: Alfred Perlstein , Jiangyi Liu , freebsd-hackers@FreeBSD.ORG Subject: Re: How to recompile kernel after minor changes? Message-ID: <20010602043145.B97130@xor.obsecurity.org> References: <878zjb20fd.fsf@fatcow.home> <20010601210728.A1832@superconductor.rush.net> <20010602115823.D24747@ringworld.oblivion.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Fba/0zbH8Xs+Fj9o" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010602115823.D24747@ringworld.oblivion.bg>; from roam@orbitel.bg on Sat, Jun 02, 2001 at 11:58:23AM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Fba/0zbH8Xs+Fj9o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 02, 2001 at 11:58:23AM +0300, Peter Pentchev wrote: > On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote: > > * Jiangyi Liu [010601 20:25] wrote: > > > Hi all, > > >=20 > > > After just changing a little in sys/kern/kern_sig.c, how can I rebuild > > > the kernel fast? I think it should not take such a long time as 'make > > > buildkernel' does. Anyway, just kern_sig.c need to be recompiled and > > > the kernel can be linked. So how do you guys do in such case? > >=20 > > try: > > make buildkernel -DNOCLEAN >=20 > And if you've really only changed kern_sig.c, add -DMODULES_WITH_WORLD, t= oo. > This will cut down the kernel compile time to the dependencies' and set > generation (which cannot be avoided in any sane build), and then compiling > only 4-5 files. or -DNO_MODULES, as it's usually spelled when only doing a kernel compile := -) Kris --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7GM6hWry0BWjoQKURAhrDAJ99sK9GziJKsr5x7bc3txoynB+0NgCg8X/u g5dzp0hEM5jZ35NuhbOYxhI= =ghXx -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message