summaryrefslogtreecommitdiff
path: root/tail_build/README
blob: 4ce92287520403c7084ca6a8efd8b7799066d3ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This module exist only to take advantage of the ability of gbuild to build
multiple modules in one single Makefile.

A few module that normally get built at the end of the build process
are already converted. this 'pseudo-module' build them all as one.

As module get converted to gbuild they can be added to this module
if they fix the necessary pre-requisite. that is:

To qualify a module must not be the dependant of any other module,
except postprocess or if the other module itself is under tail_build

To migrate a module <foo> under tail_build, one should:
* merge the dependencies declared in <foo>/prj/build.lst into tail_build/prj/build.lst
* remove the module <foo> from postprocess/prj/build.lst dependencies
* remove the module <foo> from tail_build/prj/build.lst dependencies
* add the module name in Module_tail_build.mk in the root of the tree.

This module of course, takes a lot of thought, and dependency work /
statting until it has finished it's business, knows exactly what to
re-build, and can start building just that.