home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!inmos!cheetah!bob
- From: bob@cheetah.inmos.co.uk (Bob Green)
- Subject: Re: Patch to 0.97PL2 to reduce unnecessary compiles during a build
- Message-ID: <1992Sep1.073118.19185@inmos.co.uk>
- Sender: bob@cheetah (Bob Green)
- Organization: INMOS Limited, Bristol, UK
- References: <1992Aug29.054524.28430@athena.mit.edu>
- Date: Tue, 1 Sep 1992 07:31:18 GMT
- Lines: 34
-
- In article <1992Aug29.054524.28430@athena.mit.edu>, tytso@ATHENA.MIT.EDU (Theodore Ts'o) writes:
- |> I got tired of waiting for a build of the system to finish, after I only
- |> modified one or two configuration files. But due to how the UTS_RELEASE
- |> and UTS_VERSION defines were updated, a lot of unnecessary files would
- |> get recompiled due to their dependency on config.h, when they didn't
- |> need to get recompiled. By separating out those #define's to another
- |> building, we reduce the need to recompile sections of the kernel when we
- |> relink the kernel.
- |>
- |> Linus, could you make sure this patch makes it to the next release?
- |> Thanks!!!!
- |>
-
- Hi,
-
- wouldn't it be simpler to make use of the various targets defined in the
- Makefile ? I use
-
- make Image
-
- to do what you want, ie. just recompile the bits that have actually changed,
- and
-
- make
-
- to increment the version and rebuild everything. Works OK for me.
-
- -Bob
-
- --
- | Bob Green Inmos Ltd, Bristol bob@inmos.co.uk
- | or bob@inmos.com
- |The opinions above are the rantings of a madman and therefore could
- |not possibly reflect Inmos policy.
-