From e9a9eacebb361123d7047f13daed72c8a3c12515 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 11 May 2023 02:03:30 -0400 Subject: [PATCH] add lynx kernel build documentation --- static/build.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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

Replace the files in the OS source tree at device/google/pantah-kernel/ with your build in out/mixed/dist/.

+ +

To sync the lynx kernel for the Pixel 7a:

+ +
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
+ +

To build the lynx kernel for the Pixel 7a:

+ +
LTO=full BUILD_AOSP_KERNEL=1 ./build_lynx.sh
+ +

Replace the files in the OS source tree at + device/google/lynx-kernel/ with your build in + out/mixed/dist/.