home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9559 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.5 KB  |  46 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!inmos!cheetah!bob
  3. From: bob@cheetah.inmos.co.uk (Bob Green)
  4. Subject: Re: Patch to 0.97PL2 to reduce unnecessary compiles during a build
  5. Message-ID: <1992Sep1.073118.19185@inmos.co.uk>
  6. Sender: bob@cheetah (Bob Green)
  7. Organization: INMOS Limited, Bristol, UK
  8. References:  <1992Aug29.054524.28430@athena.mit.edu>
  9. Date: Tue, 1 Sep 1992 07:31:18 GMT
  10. Lines: 34
  11.  
  12. In article <1992Aug29.054524.28430@athena.mit.edu>, tytso@ATHENA.MIT.EDU (Theodore Ts'o) writes:
  13. |> I got tired of waiting for a build of the system to finish, after I only
  14. |> modified one or two configuration files.  But due to how the UTS_RELEASE
  15. |> and UTS_VERSION defines were updated, a lot of unnecessary files would
  16. |> get recompiled due to their dependency on config.h, when they didn't
  17. |> need to get recompiled.  By separating out those #define's to another
  18. |> building, we reduce the need to recompile sections of the kernel when we
  19. |> relink the kernel.
  20. |> 
  21. |> Linus, could you make sure this patch makes it to the next release?
  22. |> Thanks!!!! 
  23. |> 
  24.  
  25. Hi,
  26.  
  27. wouldn't it be simpler to make use of the various targets defined in the
  28. Makefile ? I use
  29.  
  30. make Image
  31.  
  32. to do what you want, ie. just recompile the bits that have actually changed,
  33. and
  34.  
  35. make
  36.  
  37. to increment the version and rebuild everything. Works OK for me.
  38.  
  39. -Bob
  40.  
  41. -- 
  42. | Bob Green          Inmos Ltd, Bristol       bob@inmos.co.uk
  43. |                                         or  bob@inmos.com        
  44. |The opinions above are the rantings of a madman and therefore could
  45. |not possibly reflect Inmos policy.     
  46.