summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-12-27 06:34:22 -0500
committerDaniel Micay <danielmicay@gmail.com>2021-12-27 06:34:22 -0500
commit29d11213f77f4af60792e82b755bae057c5de1d5 (patch)
tree64a646b75d5379bc8bff4dede928a6469fe21a91 /static
parent5486c67af01b92da5637ee7facf16a2d8778c06e (diff)
add kernel building instructions for Pixel 6
Diffstat (limited to 'static')
-rw-r--r--static/build.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/static/build.html b/static/build.html
index e1cb8845..60830bc8 100644
--- a/static/build.html
+++ b/static/build.html
@@ -448,6 +448,22 @@ cd ../..</pre>
git submodule sync
git submodule update --init --recursive
./build.sh redfin</pre>
+
+ <p>For the Pixel 6 and Pixel 6 Pro, you need a separate repo source tree for
+ building the kernel:</p>
+
+ <pre>mkdir kernel-raviole
+cd kernel-raviole
+repo init -u https://github.com/GrapheneOS/kernel-manifest-raviole.git -b 12
+repo sync -j16</pre>
+
+ <p>To build the Pixel 6 and Pixel 6 Pro kernel:</p>
+
+ <pre>LTO=full BUILD_KERNEL=1 ./build_slider.sh</pre>
+
+ <p>You need to replace the files in the GrapheneOS source tree at
+ <code>device/google/raviole-kernel</code> with the output from your kernel
+ build at <code>out/mixed/dist</code> in the kernel-raviole source tree.</p>
</section>
<section id="setting-up-the-os-build-environment">