reticulatedpines / magiclantern_simplified

A Git based version of Magic Lantern, for those unwilling or unable to work using Mercurial. The vast majority of branches have been removed, with those thought to be important brought in individually and merged.
GNU General Public License v2.0
147 stars 51 forks source link

Simplify the build system #35

Open reticulatedpines opened 2 years ago

reticulatedpines commented 2 years ago

No current devs really understand the build system. I'm not a make expert, but it seems overly complicated to me for the small number of use cases in active use.

The "minimal subdir" builds have been the source of multiple difficult bugs, and getting platform builds to clean them is hard, due to the bizarre way they try to build; it's easy to hit infinite recursion.

Build objects should go in a subdir of the source being built; this limits the chance of racey edits / removes of files and makes cleanup trivial.

Unused build rules should be removed (the stub auto-formatting stuff, the install targets, etc).

Try to reduce the amount of includes, complex functions, general magic.

petabyt commented 1 year ago

Just a List making a list of things I'd be interested in doing: