summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2024-08-27 07:23:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-28 09:14:27 +0100
commitae5de774f363c1471a6ca611a40dbe4d3bd1befe (patch)
tree701263a60905baa83fdc64aa4ee2e6eae69c7bf0
parentd85d7419e4402e32de5f6fe74c7d04eec412b167 (diff)
downloadpoky-ae5de774f363c1471a6ca611a40dbe4d3bd1befe.tar.gz
libtraceevent: upgrade 1.8.2 -> 1.8.3
Drop backport. (From OE-Core rev: 1125dc6679c72c6b377d802009c908465626a3e6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/libtraceevent/libtraceevent/meson.patch45
-rw-r--r--meta/recipes-kernel/libtraceevent/libtraceevent_1.8.3.bb (renamed from meta/recipes-kernel/libtraceevent/libtraceevent_1.8.2.bb)4
2 files changed, 2 insertions, 47 deletions
diff --git a/meta/recipes-kernel/libtraceevent/libtraceevent/meson.patch b/meta/recipes-kernel/libtraceevent/libtraceevent/meson.patch
deleted file mode 100644
index c723c236c0..0000000000
--- a/meta/recipes-kernel/libtraceevent/libtraceevent/meson.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 7f88c9ba5f27276e844252500a9f0ba2b350b919 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Sun, 27 Aug 2023 20:57:44 +0100
4Subject: [PATCH] Fixes for the Meson build of libtraceevent:
5
6- Make the plugin directory the same as the Makefiles
7- Install the plugins as modules not static and versioned shared libraries
8
9Upstream-Status: Submitted [https://lore.kernel.org/linux-trace-devel/20240311111140.1789879-1-alex@linutronix.de/T/#u]
10Signed-off-by: Ross Burton <ross.burton@arm.com>
11---
12 meson.build | 2 +-
13 plugins/meson.build | 3 +--
14 2 files changed, 2 insertions(+), 3 deletions(-)
15
16diff --git a/meson.build b/meson.build
17index 40ce38c..1eb7912 100644
18--- a/meson.build
19+++ b/meson.build
20@@ -25,7 +25,7 @@ htmldir = join_paths(prefixdir, get_option('htmldir'))
21 libdir = join_paths(prefixdir, get_option('libdir'))
22 plugindir = get_option('plugindir')
23 if plugindir == ''
24- plugindir = join_paths(libdir, 'libtraceevent/plugins')
25+ plugindir = join_paths(libdir, 'traceevent/plugins')
26 endif
27
28 add_project_arguments(
29diff --git a/plugins/meson.build b/plugins/meson.build
30index 74ad664..4919be4 100644
31--- a/plugins/meson.build
32+++ b/plugins/meson.build
33@@ -19,11 +19,10 @@ plugins = [
34
35 pdeps = []
36 foreach plugin : plugins
37- pdeps += library(
38+ pdeps += shared_module(
39 plugin.replace('.c', ''),
40 plugin,
41 name_prefix: '',
42- version: library_version,
43 dependencies: [libtraceevent_dep],
44 include_directories: [incdir],
45 install: true,
diff --git a/meta/recipes-kernel/libtraceevent/libtraceevent_1.8.2.bb b/meta/recipes-kernel/libtraceevent/libtraceevent_1.8.3.bb
index d4ace54884..68174305f2 100644
--- a/meta/recipes-kernel/libtraceevent/libtraceevent_1.8.2.bb
+++ b/meta/recipes-kernel/libtraceevent/libtraceevent_1.8.3.bb
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=e6a75371ba4d16749254a51215d13f97
8 file://LICENSES/LGPL-2.1;md5=b370887980db5dd40659b50909238dbd" 8 file://LICENSES/LGPL-2.1;md5=b370887980db5dd40659b50909238dbd"
9SECTION = "libs" 9SECTION = "libs"
10 10
11SRCREV = "6f6d5802f31992e7527a4c32b43a32fda6bf6bdf" 11SRCREV = "645a883516e343ee970ebb80398cfd7b7dbd227e"
12SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git;branch=${BPN};protocol=https \ 12SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git;branch=${BPN};protocol=https \
13 file://meson.patch" 13 "
14 14
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16 16