Re: destination directory for kernel compiles

Michael Elizabeth Chastain (mec@shout.net)
Mon, 30 Jun 1997 11:03:24 -0500


Hello kernel hackers,

Check out:

ftp://ftp.shout.net/pub/users/mec/patch/makefile.2143

This implements seperate source and destination trees, with true read-only
source and multiple destinations easily supported. The configuration
is stored in the destination tree, too, so it's easy to build multiple
configurations from one source.

It has many other features including:

automatic dependency generation:
no more 'make dep' ever
command dependencies:
when the compilation flags for a target change, it gets recompiled
easy per-directory making:
just go into any source directory and type 'make'
compatible with many versions of binutils
most makefiles are less than half their original size
'make config', 'make vmlinux', and so on, work from any directory
CONFIG_SMP a real config option:
and all the necessary recompilation happens when it's changed

I haven't tested it lately since revising it from 2.1.26 to 2.1.43,
but you can read the documentation and get the idea. I won't have any
more time to work on it until the middle of July.

Michael Chastain
<mailto:mec@shout.net>
"love without fear"