Bug 2658 - Split local makefiles in two
Summary: Split local makefiles in two
Status: NEW
Alias: None
Product: Infrastructure
Classification: Unclassified
Component: newinfra (show other bugs)
Version: unspecified
Hardware: All All
: P4 - Within a month normal
Assignee: Sjur Nørstebø Moshagen
URL:
Keywords:
Depends on:
Blocks: 2613
  Show dependency treegraph
 
Reported: 2020-04-05 16:24 CEST by Sjur Nørstebø Moshagen
Modified: 2020-04-05 16:24 CEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sjur Nørstebø Moshagen 2020-04-05 16:24:55 CEST
The local makefiles today consists of two content types:

* Fixed parts that should not be modified by users (subdirs, includes, variable definitons)
* the actual local modifications

This mixture makes the system quite brittle and easy to cause merge conflicts in. One solution is to let the main Makefile.am file only contain the fixed parts, and from there include another local file that ONLY includes the user-modifiable parts.