diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-12-27 06:34:22 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-12-27 06:34:22 -0500 |
| commit | 29d11213f77f4af60792e82b755bae057c5de1d5 (patch) | |
| tree | 64a646b75d5379bc8bff4dede928a6469fe21a91 /static/build.html | |
| parent | 5486c67af01b92da5637ee7facf16a2d8778c06e (diff) | |
add kernel building instructions for Pixel 6
Diffstat (limited to 'static/build.html')
| -rw-r--r-- | static/build.html | 16 |
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"> |
