summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2023-05-11 02:03:30 -0400
committerDaniel Micay <danielmicay@gmail.com>2023-05-11 02:03:30 -0400
commite9a9eacebb361123d7047f13daed72c8a3c12515 (patch)
treed9a50f5020958bcf8be5ff6afa65b4d92ec15332 /static
parenta93f6636d49d07327917b458ca1d92806ec530db (diff)
add lynx kernel build documentation
Diffstat (limited to 'static')
-rw-r--r--static/build.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/static/build.html b/static/build.html
index 730623f5..992129f8 100644
--- a/static/build.html
+++ b/static/build.html
@@ -856,6 +856,21 @@ repo sync -j8</pre>
<p>Replace the files in the OS source tree at
<code>device/google/pantah-kernel/</code> with your build in
<code>out/mixed/dist/</code>.</p>
+
+ <p>To sync the lynx kernel for the Pixel 7a:</p>
+
+ <pre>mkdir -p android/kernel/lynx
+cd android/kernel/lynx
+repo init -u https://github.com/GrapheneOS/kernel_manifest-lynx.git -b 13-lynx
+repo sync -j8</pre>
+
+ <p>To build the lynx kernel for the Pixel 7a:</p>
+
+ <pre>LTO=full BUILD_AOSP_KERNEL=1 ./build_lynx.sh</pre>
+
+ <p>Replace the files in the OS source tree at
+ <code>device/google/lynx-kernel/</code> with your build in
+ <code>out/mixed/dist/</code>.</p>
</section>
</section>