shithub: scc

Download patch

ref: 989c106cae3b5870d966b2cc6a83dcad73254ede
parent: 975c7b569ff06c32eafd382884e8d583b5674679
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue Aug 22 13:16:21 EDT 2017

Chage makefile framework

At this moment there were several problems with the makefiles,
because we only could configure the archs and systems that
we want in the final build, and it meant that the final
target list was a cartesian product of both. This set
included non desired (and absurd) combinations like for example
z80-linux. Other problem was the impossibility of having
support for the new qbe support for aarch64.

This new framework uses a dep rule which generates makefiles
(makefiles are different files than Makefiles), and it helps
to avoid all the for loops that were needed for generating
all the requested architectures. All the needed information
is now in the leaf makefiles.