On 2016-03-16, Christian Weisgerber <na...@mips.inka.de> wrote: > The SHARED_ONLY variable is a bit of a tangle. I'll start pulling > a few threads soon.
In case anybody's wondering how things are progressing on that front: Basically, we're looking at a kind of network graph. We have * producers (modules, Makefile.incs, and a few hundred individual Makefiles) that set SHARED_ONLY; * consumers that check SHARED_ONLY and act on it; * and consumer-producers that check if SHARED_ONLY is already defined, set it if not, and sometimes act on the value. Intersections are created when ports include several MODULES. The approach to pruning the graph--what I've been doing so far and still am doing--is to identify and eliminate all producers that don't feed into any consumers. Eventually we should arrive at a manageable set of producer->consumer relationships, allowing us to move the actions out of the consumers and into the producers, thus eliminating the respective roles. -- Christian "naddy" Weisgerber na...@mips.inka.de