diff --git a/static/build.html b/static/build.html index 6a0a5307..bd29d4cf 100644 --- a/static/build.html +++ b/static/build.html @@ -83,6 +83,7 @@ Kernel
device/generic/goldfish/board/kernel/x86_64.mk
.
+ To sync the 6.6 kernel sources:
+ +mkdir -p android/kernel/6.6 +cd android/kernel/6.6 +repo init -u https://github.com/GrapheneOS/kernel_manifest-6.6.git -b 15 +repo sync -j8+ +
To build the 6.6 kernel image for microdroid:
+ +tools/bazel run //common:kernel_aarch64_microdroid_dist --lto=full -- --dist_dir=microdroid_dist+ +
Replace the prebuilt kernel image in the OS source tree at
+ packages/modules/Virtualization/microdroid/kernel/android15-6.6/arm64/kernel-6.6
with your image
+ microdroid_dist/Image
.