Hobby OS in modern C++
License: EUPL v1.2
Make sure you have recent versions of the following programs installed:
- xmake
- clang/clang++ (plus clang-scan-deps)
- llvm/lld
- xorriso
- qemu (x86_64 and aarch64)
- Clone this repository:
git clone --depth=1 https://github.com/ilobilo/ilobilix
- Interactively configure the kernel:
xmake f --menu
- Change architecture:
xmake f --arch=<x86_64|aarch64>
- Change build mode:
xmake f --mode=<release|releasesmall|releasedbg|debug>
- Change architecture:
- Build and run the kernel:
xmake run
- Default run target is
uefi
. Other possible values are:bios
,bios-debug
anduefi-debug
. For example:xmake run bios-debug
- Fully rebuild the kernel:
xmake build -r --all -j$(nproc)