1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-01-12 03:10:15 +00:00

arm-bsp: add upstream kernel inc and v5.3 recipe

Add support to build using the upstream (Linus tree) and as first user
add recipe for v5.3, which will be later.

Change-Id: I0f30a45002adca7c0b95a0421e0291a6852295eb
Signed-off-by: Rui Miguel Silva <rui.silva@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Rui Silva
2020-03-11 10:56:41 +00:00
committed by Jon Mason
parent 5569afc1df
commit 9e1b4e045b
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
DESCRIPTION = "Linux Kernel based on upstream tree"
SECTION = "kernel"
LICENSE = "GPLv2"
SRCREV_FORMAT = "kernel"
require recipes-kernel/linux/linux-yocto.inc
KERNEL_VERSION_SANITY_SKIP = "1"
S = "${WORKDIR}/git"
# Override do_kernel_configme to avoid kernel being assembled into a linux-yocto
# style kernel
# https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-tasks-kernel_configme
do_kernel_configme[noexec] = "1"
# Make sure no branch is defined since here we track a specific version
KBRANCH = ""
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
SRC_URI = "\
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux;protocol=https;nobranch=1 \
"

View File

@@ -0,0 +1,8 @@
# Add support for Upstream Kernel for Arm Platforms (boards or simulators)
SUMMARY = "Linux Kernel Upstream, supported by Arm/Linaro"
require recipes-kernel/linux/linux-upstream-arm-platforms.inc
SRCREV = "v${PV}"
LINUX_VERSION ?= "${PV}"