Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2001 19:13:57 -0500
From:      Andrew Hesford <ajh3@usrlib.org>
To:        Bill Schoolcraft <bill@wiliweld.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Recompile same kernel ?
Message-ID:  <20010520191357.A86448@core.usrlib.org>
In-Reply-To: <Pine.LNX.4.21.0105201649510.15128-100000@corten8.billschoolcraft.com>; from bill@wiliweld.com on Sun, May 20, 2001 at 04:54:42PM -0700
References:  <Pine.LNX.4.21.0105201649510.15128-100000@corten8.billschoolcraft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 20, 2001 at 04:54:42PM -0700, Bill Schoolcraft wrote:
> Hello,
> 
> I've recompiled a kernel to add a device and after I finished I
> realized that I could have added another device for sound.
> 
> (A) Can I just edit the (existing) NEWKERNEL to re-compile it or
> do I have to delete any pre-existing directories/files created in
> the prior compile of NEWKERNEL ?

cd /sys/i386/conf
vim NEWKERNEL
config -r NEWKERNEL
cd ../../compile/NEWKERNEL && make depend all install

--OR--

cd /sys/i386/conf
vim NEWKERNEL
cd /usr/src && make kernel KERNCONF=NEWKERNEL

Either will work just fine.

-- 
Andrew Hesford
ajh3@usrlib.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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