summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-07-15 19:30:05 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-18 22:09:51 (GMT)
commitb2b26a22b48ae30e47d4ed10cdcfe99f45554480 (patch)
treede6b09077d676036cc8a142ae2b2a57ee8b344b3 /meta
parent84fbf8632d78afa82d04d39cb89c19b822849dfb (diff)
downloadpoky-b2b26a22b48ae30e47d4ed10cdcfe99f45554480.tar.gz
linux-yocto/5.13: add devupstream support
We are always getting questions about building -stable, or mainline master. Rather than introducing a separate set of recipes, we can facilitate this sort of usecase by using the existing devupstream bbclass support. To build an unpatched or otherwise modifed -stable of 5.13, simply set the linux-yocto preferred provider to: linux-yocto-upstream and the PREFERRED_VERSION_linux-yocto-upstream to one with support. And your wish will be granted, as the build will use v5.13/base which matches the main linux-yocto version, simply with no extra changes applied. (From OE-Core rev: 3ba37063ac08c71cdaba07e9b85ee3246c6f1350) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/linux/linux-yocto_5.13.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto_5.13.bb b/meta/recipes-kernel/linux/linux-yocto_5.13.bb
index 66384d8..74699d0 100644
--- a/meta/recipes-kernel/linux/linux-yocto_5.13.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_5.13.bb
@@ -25,6 +25,16 @@ SRCREV_machine_qemumips64 ?= "b74fe3dcca0653609fcb75aad883b1db07619081"
25SRCREV_machine ?= "b1cead8d98582ca687f93e06438543b97144e5bf" 25SRCREV_machine ?= "b1cead8d98582ca687f93e06438543b97144e5bf"
26SRCREV_meta ?= "ceb5fa598d08902fe2934c041875aa92d9a6fa19" 26SRCREV_meta ?= "ceb5fa598d08902fe2934c041875aa92d9a6fa19"
27 27
28# set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll
29# get the <version>/base branch, which is pure upstream -stable, and the same
30# meta SRCREV as the linux-yocto-standard builds. Select your version using the
31# normal PREFERRED_VERSION settings.
32BBCLASSEXTEND = "devupstream:target"
33DEFAULT_PREFERENCE_class-devupstream = "-1"
34SRCREV_class-devupstream = "62fb9874f5da54fdb243003b386128037319b219"
35PN_class-devupstream = "linux-yocto-upstream"
36KBRANCH_class-devupstream = "v5.13/base"
37
28# remap qemuarm to qemuarma15 for the 5.8 kernel 38# remap qemuarm to qemuarma15 for the 5.8 kernel
29# KMACHINE_qemuarm ?= "qemuarma15" 39# KMACHINE_qemuarm ?= "qemuarma15"
30 40