summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2022-08-22 20:27:20 -0400
committerDaniel Micay <danielmicay@gmail.com>2022-08-25 23:15:08 -0400
commit9d247cd031eba9dc055af9d6e2221b61cd36eb8c (patch)
tree9ef60c5dd4699a651aa833448e66fc85441f6fa7
parent9442d7dce1c2de814fcb97dd3e7e1eb1eed7474d (diff)
temporarily use ThinLTO for 6th gen kernel builds
-rw-r--r--static/build.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/static/build.html b/static/build.html
index a1f605fd..44942767 100644
--- a/static/build.html
+++ b/static/build.html
@@ -451,11 +451,15 @@ repo sync -j16</pre>
<p>To build the raviole kernel for the Pixel 6 and Pixel 6 Pro:</p>
- <pre>LTO=full BUILD_KERNEL=1 ./build_slider.sh</pre>
+ <pre>LTO=thin BUILD_KERNEL=1 ./build_slider.sh</pre>
<p>To build the bluejay kernel for the Pixel 6a:</p>
- <pre>LTO=full BUILD_KERNEL=1 ./build_bluejay.sh</pre>
+ <pre>LTO=thin BUILD_KERNEL=1 ./build_bluejay.sh</pre>
+
+ <p><strong>ThinLTO is being used temporarily for 6th generation Pixel
+ kernels to work around an upstream bug in the kernel or toolchain. Using
+ <code>LTO=full</code> is currently broken.</strong></p>
<p>Replace the files in the OS source tree at
<code>device/google/raviole-kernel/</code> or