On Mon, 10 Jul 2000, Greg Lehey wrote:
> Agreed. I tried it out and found a number of things I didn't like
> about it. Basically, it's a completely different build process:
>
> 1. Before building, it removes the existing kernel build tree.
> There's no good reason for this.
Agreed
> 2. It builds in a different tree (/usr/obj instead of
> /usr/src/sys/compile). These two points mean that if you later
> want to go back and tune your kernel (change a driver parameter,
> say), you can't just do a config; cd ../../compile/FOO; make, you
> have to go the whole nine yards.
I've argued (to no avail) that the whole kernel build was always "wrong" and
that kernels should be treated in the same structure that is used to build
userland programs.
In particular, each kernel should get its own source directory just like each
each user program does.
The kernel has one primary source file. This file gets "compiled" by "config"
(just as "foo.y") would get processed by "yacc" before calling "gcc" to
actually do the compile.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message