This project uses Gradle for kernel build, ISO packaging, and QEMU run.
- Supports kernel build, ISO packaging, and QEMU run
- Cross-platform compatible (Linux/macOS/Windows)
Available Gradle tasks:
./gradlew build: Build kernel ELF./gradlew buildIso: Build the UEFI ISO image./gradlew run: Run the ISO image in QEMU./gradlew clean: Clean kernel build outputs./gradlew cleanAll: Remove entire build directory./gradlew buildMlibc: Build bundled mlibc
Quick start:
Build and run in one command
./gradlew runOr step by step
./gradlew buildIso
./gradlew runYou need to install:
- Kotlin/Native (
konanc,cinterop) - Clang (
clang,clang++) - LLD (
ld.lld) xorriso(for ISO creation)qemu-system-x86_64(for emulation)- Git and Gradle (included with Kotlin/Native)
This project is licensed under the 0BSD License.