From owner-freebsd-stable Wed Aug 9 13:41:44 2000 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 89FEE37B721 for ; Wed, 9 Aug 2000 13:41:41 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id OAA99265; Wed, 9 Aug 2000 14:41:39 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id OAA50508; Wed, 9 Aug 2000 14:41:15 -0600 (MDT) Message-Id: <200008092041.OAA50508@harmony.village.org> To: j mckitrick Subject: Re: kernel compile between cvsup's Cc: stable@FreeBSD.ORG In-reply-to: Your message of "Wed, 09 Aug 2000 14:44:55 BST." <20000809144455.C31619@dogma.freebsd-uk.eu.org> References: <20000809144455.C31619@dogma.freebsd-uk.eu.org> Date: Wed, 09 Aug 2000 14:41:15 -0600 From: Warner Losh Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000809144455.C31619@dogma.freebsd-uk.eu.org> j mckitrick writes: : : 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 : : 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 : : 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 only need to use buildkernel when you are building the kernel on a system that has a different userland than the kernel you are compiling. This is true if you are updating your sources. If you are just hacking the kernel, you don't need to do this ebcause there's no "cross threading" problem that you run into when you are updating your system. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message