Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Aug 2000 14:41:15 -0600
From:      Warner Losh <imp@village.org>
To:        j mckitrick <jcm@FreeBSD-uk.eu.org>
Cc:        stable@FreeBSD.ORG
Subject:   Re: kernel compile between cvsup's 
Message-ID:  <200008092041.OAA50508@harmony.village.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>  

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008092041.OAA50508>