Skip to content

Instantly share code, notes, and snippets.

View WenHao2130's full-sized avatar
🐿️
I may be slow to respond.

WenHao2130

🐿️
I may be slow to respond.
View GitHub Profile
@danielml3
danielml3 / kernel-build.sh
Last active January 5, 2026 17:06
Build a QCOM GKI kernel with external modules and generate the module.load files
#!/bin/bash
set -e
KERNEL_TOOLS=/home/daniel/android/lineage-21.0/prebuilts/kernel-build-tools/linux-x86/bin/
CLANG_PATH=/home/daniel/android/lineage-21.0/prebuilts/clang/host/linux-x86/clang-r487747c/bin/
export PATH="$KERNEL_TOOLS:$CLANG_PATH:$PATH"
TARGET=$1