diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-11-03 12:46:07 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-12-04 16:44:27 +0000 |
commit | e230e8172a80cfde96f780af5f6be901b55bfbd0 (patch) | |
tree | fc6ef454ca057afa50c3a773520bc123e2bba866 /strata/python-tools.morph | |
parent | b07c7e832a3079d22fa1a5ef53d8ccfd75756343 (diff) | |
download | definitions-e230e8172a80cfde96f780af5f6be901b55bfbd0.tar.gz |
gnu-toolchain: Split rule improvementssam/split-rules
This includes many fixes that result in us being able to produce a
minimal OS image or initramfs of a reasonable size. I have built an
initramfs of 16MB uncompressed with this change: still a bit bigger
than necessary, but much better than the comical ~700MB thing complete
with kernel source code and C++ compiler that I got before these
changes.
Note that the gnu-toolchain stack now puts all the toolchain binaries
into the 'devel' artifact. The 'runtime' artifact just contains
libraries needed to run programs that are built with that toolchain.
We should split this up further in future so that C programs don't
depend on libstdc++.
Special care is taken for GCC and GLIBC to handle the lib/ and lib64/
split that they do on some 64-bit platforms.
We also globally put /usr/src into the devel artifact, which is only
useful for the linux.bsp element at present but makes sense as a global
rule.
Diffstat (limited to 'strata/python-tools.morph')
0 files changed, 0 insertions, 0 deletions