Subject: Re: Is it possible to just build the kernel?
To: Justin R. Smith <jsmith@mcs.drexel.edu>
From: Christopher R. Bowman <crb@ChrisBowman.com>
List: port-mac68k
Date: 03/26/1998 11:00:50
On Thu, 26 Mar 1998, Justin R. Smith wrote:

>The subject line says it all. I'd like to play with building
>kernels without having to build all the rest of the system.
>If it's possible, how much disk space is needed?

Yes it is very easy.  first cd /usr/src/sys/arch/mac68k/conf/
then copy GENERIC to another file name (usually the name of your
system in all caps, I use PACKET for packet.ChrisBowman.com)
then edit the new file to your liking.  This file is called a
config file, and specifies what options and drivers and such you
want in your kernel.  Next type config FOOBAR where FOOBAR is the
config file name you created.  This will create a directory
/usr/src/sys/arch/mac68k/compile/FOOBAR which has some files and a
Makefile set up for building a kernel. now you just CD to
/usr/src/sys/arch/mac68k/compile/FOOBAR and type make depend && make
and wait about 2.5 hours (in my IIci's case) and you get a kernel.
I nuked my disk recently so I don't know how much memory this all
takes, but the same compile directory on my FreeBSD system uses
about 20Meg.

What major are you at Drexel?

Drexel BSEE 1992

---------
Christopher R. Bowman
crb@ChrisBowman.com
My home page