| commit | 6df40aaf96ec4bcd5567b448109ec0a73cc5b2c8 | [log] [tgz] |
|---|---|---|
| author | Lorenz Brun <lorenz@monogon.tech> | Thu May 22 15:35:44 2025 +0200 |
| committer | Lorenz Brun <lorenz@monogon.tech> | Wed Jun 11 19:46:15 2025 +0000 |
| tree | d412bad375fa031b3663aefe1b3364f0547734b4 | |
| parent | 163525e321a41724b1e457315c5003603957b3c6 [diff] |
t/linux: use toolchain and platforms This allows us to do builds for different platforms consistent with how Bazel does them. Also uses our own LLVM toolchain instead of the "ambient" GCC. As bzImages only exist for x86, rename everything to Image which is the cross-platform name. For us this is fine as we use the PE entry point which exists for all of these. Binary path generation is a hack as not all of the ones Linux needs are actually available in the rules-based toolchain and we need a special calling convention to work around a bug in LLVM when compiling assembly with preprocessor macros. Change-Id: I8ed8fa7c1514b9ffbfaedf235e32250e4af40aa4 Reviewed-on: https://review.monogon.dev/c/monogon/+/4215 Tested-by: Jenkins CI Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
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.