From owner-freebsd-stable Wed Aug 9 12:13:12 2000 Delivered-To: freebsd-stable@freebsd.org Received: from merganser.its.uu.se (merganser.its.uu.se [130.238.6.236]) by hub.freebsd.org (Postfix) with ESMTP id B25B237BF4D for ; Wed, 9 Aug 2000 12:13:06 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: from regulus.student.UU.SE ([130.238.5.2]:57234 "HELO ertr1013.student.uu.se") by merganser.its.uu.se with SMTP id ; Wed, 9 Aug 2000 21:12:36 +0200 Received: (qmail 5614 invoked by uid 1001); 9 Aug 2000 19:12:46 -0000 Date: Wed, 9 Aug 2000 21:12:45 +0200 From: Erik Trulsson To: stable@freebsd.org Subject: Re: kernel compile between cvsup's Message-ID: <20000809211245.A2963@student.uu.se> Mail-Followup-To: stable@freebsd.org References: <20000809144455.C31619@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20000809144455.C31619@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Wed, Aug 09, 2000 at 02:44:55PM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Aug 09, 2000 at 02:44:55PM +0100, j mckitrick wrote: > > just to be sure.... > > after cvsupping, i *always* have to follow this procedure, correct? > > make buildworld > make buildkernel > make installkernel KERNEL=MYKERNEL > shutdown (single user) > make installworld > mergemaster > reboot You can usually get away with doing it the old way as well, but the above should catch those cases where the old way doesn't work. Use of the above procedure is recommended. (Unless /usr/src/UPDATING says otherwise.) > > now, if i am just hacking around with my kernel, changing the configuration > file, playing with drivers, testing code, etc, i can use the old method, > correct? > > cd /usr/src/sys/i386/conf > config MYKERNEL > cd ../../compile MYKERNEL > make depend && make && make all install Should work fine if both the world and the kernel you are runing were built from the same sources as you use. > > or do i still need to use the new target 'make buildkernel' which seems to > take much longer? if i must follow the second, is there a way to shorten > the build time? > You could use MODULES_WITH_WORLD=true in /etc/make.conf to avoid building all the modules when building a kernel. (This applies to both methods of kernelbuilding.) (Note that you want your kernel and your modules to be in sync so be careful.) -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message