summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2024-03-13 18:33:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-16 08:07:01 +0100
commit352e2a327b6647afd0fee2399c33953fc99ba4e9 (patch)
tree1a3c1cf1b645ebc365c3320b1baeb43b2ae6d961 /meta/recipes-kernel
parentc11f334af513145bdcb501fef942177c4b7c839f (diff)
downloadpoky-352e2a327b6647afd0fee2399c33953fc99ba4e9.tar.gz
libtraceevent: update 1.7.3 -> 1.8.2
Drop docs option from meson.patch, as upstream added a doc option that does the same thing. (From OE-Core rev: 0da4e49b40aaf1f4de1ceaaf799de6234a3ce22b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/libtraceevent/libtraceevent/meson.patch47
-rw-r--r--meta/recipes-kernel/libtraceevent/libtraceevent_1.8.2.bb (renamed from meta/recipes-kernel/libtraceevent/libtraceevent_1.7.3.bb)4
2 files changed, 11 insertions, 40 deletions
diff --git a/meta/recipes-kernel/libtraceevent/libtraceevent/meson.patch b/meta/recipes-kernel/libtraceevent/libtraceevent/meson.patch
index 38b6107136..0c21b2347a 100644
--- a/meta/recipes-kernel/libtraceevent/libtraceevent/meson.patch
+++ b/meta/recipes-kernel/libtraceevent/libtraceevent/meson.patch
@@ -1,14 +1,20 @@
1Fixes for the Meson build of libtraceevent: 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:
2 5
3- Make the plugin directory the same as the Makefiles 6- Make the plugin directory the same as the Makefiles
4- Install the plugins as modules not static and versioned shared libraries 7- Install the plugins as modules not static and versioned shared libraries
5- Add an option to disable building the documentation (needs asciidoc and xmlto)
6 8
7Upstream-Status: Pending 9Upstream-Status: Pending
8Signed-off-by: Ross Burton <ross.burton@arm.com> 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(-)
9 15
10diff --git a/meson.build b/meson.build 16diff --git a/meson.build b/meson.build
11index b61c873..4bba4d8 100644 17index 40ce38c..1eb7912 100644
12--- a/meson.build 18--- a/meson.build
13+++ b/meson.build 19+++ b/meson.build
14@@ -25,7 +25,7 @@ htmldir = join_paths(prefixdir, get_option('htmldir')) 20@@ -25,7 +25,7 @@ htmldir = join_paths(prefixdir, get_option('htmldir'))
@@ -20,41 +26,6 @@ index b61c873..4bba4d8 100644
20 endif 26 endif
21 27
22 add_project_arguments( 28 add_project_arguments(
23@@ -45,10 +45,13 @@ if cunit_dep.found()
24 subdir('utest')
25 endif
26 subdir('samples')
27-subdir('Documentation')
28
29-custom_target(
30- 'docs',
31- output: 'docs',
32- depends: [html, man],
33- command: ['echo'])
34+if get_option('docs')
35+ subdir('Documentation')
36+
37+ custom_target(
38+ 'docs',
39+ output: 'docs',
40+ depends: [html, man],
41+ command: ['echo'])
42+endif
43diff --git a/meson_options.txt b/meson_options.txt
44index b2294f6..0611216 100644
45--- a/meson_options.txt
46+++ b/meson_options.txt
47@@ -4,6 +4,10 @@
48
49 option('plugindir', type : 'string',
50 description : 'set the plugin dir')
51+
52+option('docs', type : 'boolean', value: true,
53+ description : 'build documentation')
54+
55 option('htmldir', type : 'string', value : 'share/doc/libtraceevent-doc',
56 description : 'directory for HTML documentation')
57 option('asciidoctor', type : 'boolean', value: false,
58diff --git a/plugins/meson.build b/plugins/meson.build 29diff --git a/plugins/meson.build b/plugins/meson.build
59index 74ad664..4919be4 100644 30index 74ad664..4919be4 100644
60--- a/plugins/meson.build 31--- a/plugins/meson.build
diff --git a/meta/recipes-kernel/libtraceevent/libtraceevent_1.7.3.bb b/meta/recipes-kernel/libtraceevent/libtraceevent_1.8.2.bb
index bee7891832..d4ace54884 100644
--- a/meta/recipes-kernel/libtraceevent/libtraceevent_1.7.3.bb
+++ b/meta/recipes-kernel/libtraceevent/libtraceevent_1.8.2.bb
@@ -8,7 +8,7 @@ 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 = "dd148189b74da3e2f45c7e536319fec97cb71213" 11SRCREV = "6f6d5802f31992e7527a4c32b43a32fda6bf6bdf"
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 file://meson.patch"
14 14
@@ -16,7 +16,7 @@ S = "${WORKDIR}/git"
16 16
17inherit meson pkgconfig 17inherit meson pkgconfig
18 18
19EXTRA_OEMESON = "-Ddocs=false" 19EXTRA_OEMESON = "-Ddoc=false"
20 20
21PACKAGES += "${PN}-plugins" 21PACKAGES += "${PN}-plugins"
22 22