- Switch to Sytemd - Switch to linux 6.12lts - Remove modem power DTS node as it is not compatible with eg25-manager
31 lines
707 B
BlitzBasic
31 lines
707 B
BlitzBasic
DESCRIPTION = "Linux Kernel for Pinephone"
|
|
SECTION = "kernel"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
|
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
|
|
|
SRCREV = "${AUTOREV}"
|
|
|
|
COMPATIBLE_MACHINE = "(sun50i|pinephone)"
|
|
|
|
LINUX_PINEPHONE_BRANCH ?= "orange-pi-6.12"
|
|
|
|
SRC_URI = " \
|
|
git://codeberg.org/megi/linux.git;branch=${LINUX_PINEPHONE_BRANCH};protocol=https \
|
|
file://defconfig \
|
|
file://0001-dts-pinephone-drop-modem-power-node.patch \
|
|
"
|
|
KBUILD_DEFCONFIG = "pinephone_diya_defconfig"
|
|
|
|
|
|
inherit kernel
|
|
|
|
require linux.inc
|
|
|
|
|
|
do_kernel_metadata:prepend() {
|
|
cp ${UNPACKDIR}/defconfig ${S}/arch/arm64/configs/pinephone_diya_defconfig
|
|
}
|
|
|