# The Linux tree the phones' kernels are built from: the shared tree
# ../refs/linux/7.0.14 (a submodule, shallow) at KERNEL_COMMIT, plus the
# patches in KERNEL_PATCHDIR, applied in filename order
# (tools/fetch-kernel.sh).  Read by sh (`. kernel/PIN`).
#
# The base is kernel.org stable, tag v7.0.14 -- no third-party fork.  What the
# phone needs from the qualcomm-sm8150 fork (gitlab.nura.eco, 8e126dbc4) is
# carried as our own patches 0001-0004 (SM8150/PMIC DTSI nodes, the OnePlus
# DTS, the SMB5 charger, the of/property device link); 0005-0025 are ours.
# Measured 2026-11-11: v7.0.14 + this series boots on hotdogb
# (7.0.14-sm8150-00025-g4a6a090d6d8a from RAM, display, USB, ssh).
#
# KERNEL_URL/KERNEL_COMMIT are provenance and drift check: the shared tree
# must be at KERNEL_COMMIT.  A phone may name a different tree in its
# device.conf (KERNEL_REF, KERNEL_URL, KERNEL_COMMIT, KERNEL_PATCHDIR); without
# KERNEL_REF the build falls back to cloning KERNEL_URL.
KERNEL_REF=refs/linux/7.0.14
KERNEL_URL=https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
KERNEL_COMMIT=458c6079fc1d41d564c37679c8ace02cd83ee817
KERNEL_PATCHDIR=kernel/patches
