| commit | 163525e321a41724b1e457315c5003603957b3c6 | [log] [tgz] |
|---|---|---|
| author | Lorenz Brun <lorenz@monogon.tech> | Thu May 22 15:30:14 2025 +0200 |
| committer | Lorenz Brun <lorenz@monogon.tech> | Wed Jun 11 19:46:15 2025 +0000 |
| tree | 80d85c9fe0f4904696f49bffd704063e6671de17 | |
| parent | 6ff6b45b266b0ef0768d5172769ba1d725b10124 [diff] |
o/build/mkpayload: port to llvm-objcopy GNU and LLVM objcopy have some material differences in how they work. LLVM is able to automatically assign VMAs, but needs --set-section-flags for it. Use that and drop all the explicit VMAs. Also with the new toolchain cc.objcopy_excutable is not populated, so we need to get the executable path using the new action-based way. Currently contains a hack to force static on to get our custom toolchain for both host and cross-builds as GNU objcopy is not compatible. Change-Id: I0a5ef1cbeb3f94326a2cef099c23c046df166bdd Reviewed-on: https://review.monogon.dev/c/monogon/+/4214 Reviewed-by: Tim Windelschmidt <tim@monogon.tech> Tested-by: Jenkins CI
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.