add x86_64 microdroid kernel build documentation

This commit is contained in:
Daniel Micay 2024-11-24 11:11:16 -05:00
parent 4dbd909a84
commit bbf60e1aa0

View File

@ -772,6 +772,13 @@ repo sync -j8</pre>
<code>packages/modules/Virtualization/microdroid/kernel/android15-6.6/arm64/kernel-6.6</code> with your image
<code>out/kernel_aarch64_microdroid/dist/Image</code>.</p>
<p>To build the x86_64 kernel image for microdroid:</p>
<pre>tools/bazel run //common:kernel_x86_64_microdroid_dist --config=stamp --lto=full</pre>
<p>Replace the prebuilt kernel image in the OS source tree at
<code>packages/modules/Virtualization/microdroid/kernel/android15-6.6/x86_64/kernel-6.6</code> with your image
<code>out/kernel_x86_64_microdroid/dist/bzImage</code>.</p>
</section>
<section id="kernel-9th-generation-pixels">