summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-05-15 11:45:21 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-16 08:29:59 +0100
commitf98ea33f637a95d166691d1dfa2fe546be840d4d (patch)
tree94893f3d35016a536964ab1bee96c881291a86ec /meta
parent7fedc98498055225a459cc1e4d87a025f59eb3b8 (diff)
downloadpoky-f98ea33f637a95d166691d1dfa2fe546be840d4d.tar.gz
lttng-modules: update devupstream to v2.13-rc
To support builds against v5.13+ kernels, bumping the devupstream to 2.13 and the 2.13-rc series. Along with the SRCREV update, a port of the existing CONFIG_TRACEPOINTS patch from the main Makefile to src/Kbuild is done. The LICENSE file was part of commit [Cleanup: Move headers from toplevel to include/lttng/], so we adjust the checksum to the new fie contents. (From OE-Core rev: 18bf7b0eafc5331b0b33c0ae777374e24df741b8) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch37
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules_2.12.5.bb10
2 files changed, 42 insertions, 5 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch
new file mode 100644
index 0000000000..6d81c81efe
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch
@@ -0,0 +1,37 @@
1From 0287f5c32b9fd99078e71c22ca679343d18f1513 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@gmail.com>
3Date: Sat, 15 May 2021 10:26:38 -0400
4Subject: [PATCH] src/Kbuild: change missing CONFIG_TRACEPOINTS to warning
5
6Taken from a previous patch to the main lttng-modules Makefile, by
7Otavio Salvador:
8
9 The lttng-modules are being pulled by the tools-profile image feature,
10 however, not every kernel has the CONFIG_TRACEPOINTS feature enabled.
11
12 This change makes the build do not fail when CONFIG_TRACEPOINTS is not
13 available, allowing it to be kept being pulled by default.
14
15Upstream-Status: Inappropriate [embedded specific]
16
17Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
18---
19 src/Kbuild | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/src/Kbuild b/src/Kbuild
23index 7137874f..18a43b50 100644
24--- a/src/Kbuild
25+++ b/src/Kbuild
26@@ -2,7 +2,7 @@
27
28 ifdef CONFIG_LOCALVERSION # Check if dot-config is included.
29 ifeq ($(CONFIG_TRACEPOINTS),)
30- $(error The option CONFIG_TRACEPOINTS needs to be enabled in your kernel configuration)
31+ $(warning The option CONFIG_TRACEPOINTS needs to be enabled in your kernel configuration)
32 endif # CONFIG_TRACEPOINTS
33 endif # ifdef CONFIG_LOCALVERSION
34
35--
362.19.1
37
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.12.5.bb b/meta/recipes-kernel/lttng/lttng-modules_2.12.5.bb
index 1a01cb0c01..c5efbb061a 100644
--- a/meta/recipes-kernel/lttng/lttng-modules_2.12.5.bb
+++ b/meta/recipes-kernel/lttng/lttng-modules_2.12.5.bb
@@ -37,13 +37,13 @@ python do_package_prepend() {
37} 37}
38 38
39BBCLASSEXTEND = "devupstream:target" 39BBCLASSEXTEND = "devupstream:target"
40LIC_FILES_CHKSUM_class-devupstream = "file://LICENSE;md5=3f882d431dc0f32f1f44c0707aa41128" 40LIC_FILES_CHKSUM_class-devupstream = "file://LICENSE;md5=0464cff101a009c403cd2ed65d01d4c4"
41DEFAULT_PREFERENCE_class-devupstream = "-1" 41DEFAULT_PREFERENCE_class-devupstream = "-1"
42SRC_URI_class-devupstream = "git://git.lttng.org/lttng-modules;branch=stable-2.12 \ 42SRC_URI_class-devupstream = "git://git.lttng.org/lttng-modules;branch=stable-2.13 \
43 file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \ 43 file://0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch \
44 " 44 "
45 45
46SRCREV_class-devupstream = "92cc3e7f76a545a2cd4828576971f1eea83f4e68" 46SRCREV_class-devupstream = "f982b51a98a29cb4aaf607cb9bbf2b509d8e6933"
47PV_class-devupstream = "2.12.5+git${SRCPV}" 47PV_class-devupstream = "2.13.0-rc2+git${SRCPV}"
48S_class-devupstream = "${WORKDIR}/git" 48S_class-devupstream = "${WORKDIR}/git"
49SRCREV_FORMAT ?= "lttng_git" 49SRCREV_FORMAT ?= "lttng_git"