Moving dynamic dependencies from Makefiles
Timothy Baldwin (184) 242 posts |
The current build system stores automatic generated dependencies in Makefiles that are checked into CVS or other revision control system. This makes if difficult to checkin changes or checkout a different version without cleaning (and slowing rebuilding) the source tree. First change srcbuild to create a Depends file in every component before running AMU, if there isn’t one alreay: srcbuild.diff Create an alias, EnsureDepends, to create Depends files from Miakefiles: 0001.patch Change castle.RiscOS.Sources.Toolbox.Libs.Makefile: 0002.patch Change mixed.RiscOS.Sources.SystemRes.Internet.Makefile: 0003.patch And most of the rest, removing any checked in dynamic dependencies: 0004.patch I’ve been using these changes for a couple of weeks on IOMD and Linux ROM builds. |