diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-27 11:07:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-28 14:16:31 +0100 |
commit | d9adc413ca837ee3ba5188a37f7fbbb957a33cbe (patch) | |
tree | 18cdf99778706ba31dc96d2397140b14d0b0e6b7 /meta | |
parent | da28073b01ed0720ea06d00c6b0cc844b3a8c419 (diff) | |
download | poky-d9adc413ca837ee3ba5188a37f7fbbb957a33cbe.tar.gz |
igt-gpu-tools: address meson 0.60 compatibility
(From OE-Core rev: 33cd0f7e23d714869eda249ae6c3f9761caa4c96)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
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-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-meson.build-fix-meson-0.60-compatibility.patch | 24 | ||||
-rw-r--r-- | meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | 4 |
2 files changed, 27 insertions, 1 deletions
diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-meson.build-fix-meson-0.60-compatibility.patch b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-meson.build-fix-meson-0.60-compatibility.patch new file mode 100644 index 0000000000..159425a643 --- /dev/null +++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-meson.build-fix-meson-0.60-compatibility.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From b9a19aa4bdb21751c04c0e3ba8a9e2e35a10c953 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Mon, 25 Oct 2021 18:18:15 +0200 | ||
4 | Subject: [PATCH] lib/meson.build: fix meson 0.60 compatibility | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
8 | --- | ||
9 | lib/meson.build | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/lib/meson.build b/lib/meson.build | ||
13 | index 9929520e..1a525587 100644 | ||
14 | --- a/lib/meson.build | ||
15 | +++ b/lib/meson.build | ||
16 | @@ -152,7 +152,7 @@ lib_version = vcs_tag(input : 'version.h.in', output : 'version.h', | ||
17 | |||
18 | lib_intermediates = [] | ||
19 | foreach f: lib_sources | ||
20 | - name = f.underscorify(f) | ||
21 | + name = f.underscorify() | ||
22 | lib = static_library('igt-' + name, | ||
23 | [ f, lib_version ], | ||
24 | include_directories: inc, | ||
diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb index 1a00eca7d3..7d912e4e4c 100644 --- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb +++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | |||
@@ -12,7 +12,9 @@ inherit meson pkgconfig | |||
12 | SRCREV = "203def046b466fb2da67f9f15552d84e1c0b41f2" | 12 | SRCREV = "203def046b466fb2da67f9f15552d84e1c0b41f2" |
13 | PV = "1.26" | 13 | PV = "1.26" |
14 | 14 | ||
15 | SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https" | 15 | SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https \ |
16 | file://0001-lib-meson.build-fix-meson-0.60-compatibility.patch \ | ||
17 | " | ||
16 | 18 | ||
17 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
18 | 20 | ||