Skip to content

Commit 4f934c0

Browse files
MarkusVolkagherzan
authored andcommitted
linux-raspberrypi: add recipe for 6.12
This release is tagged outside of branch. Use 'nobranch=1' to still be able to fetch the code. https://github.com/raspberrypi/linux/releases/tag/rpi-6.12.y_20241206_2 The kernel was tested to run on raspberrypi4-64 Signed-off-by: Markus Volk <f_l_k@t-online.de>
1 parent 810f1a2 commit 4f934c0

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com>
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
require linux-raspberrypi-v7.inc
6+
require linux-raspberrypi_6.12.bb
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
LINUX_VERSION ?= "6.12.1"
2+
LINUX_RPI_BRANCH ?= ""
3+
LINUX_RPI_KMETA_BRANCH ?= "yocto-6.12"
4+
5+
SRCREV_machine = "614fa9b0b1a21c0cc320b9915393bdaa31357de9"
6+
SRCREV_meta = "96ce9b7ee67702aec75816c4d44a527061c418c5"
7+
8+
KMETA = "kernel-meta"
9+
10+
SRC_URI = " \
11+
git://github.com/raspberrypi/linux.git;name=machine;nobranch=1;protocol=https \
12+
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${LINUX_RPI_KMETA_BRANCH};destsuffix=${KMETA} \
13+
file://powersave.cfg \
14+
file://android-drivers.cfg \
15+
"
16+
17+
require linux-raspberrypi.inc
18+
19+
KERNEL_DTC_FLAGS += "-@ -H epapr"
20+
21+
RDEPENDS:${KERNEL_PACKAGE_NAME}:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}"
22+
RDEPENDS:${KERNEL_PACKAGE_NAME}-base:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-base"
23+
RDEPENDS:${KERNEL_PACKAGE_NAME}-image:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-image"
24+
RDEPENDS:${KERNEL_PACKAGE_NAME}-dev:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-dev"
25+
RDEPENDS:${KERNEL_PACKAGE_NAME}-vmlinux:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-vmlinux"
26+
RDEPENDS:${KERNEL_PACKAGE_NAME}-modules:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-modules"
27+
RDEPENDS:${KERNEL_PACKAGE_NAME}-dbg:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-dbg"
28+
29+
DEPLOYDEP = ""
30+
DEPLOYDEP:raspberrypi-armv7 = "${RASPBERRYPI_v7_KERNEL}:do_deploy"
31+
do_deploy[depends] += "${DEPLOYDEP}"

0 commit comments

Comments
 (0)