diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-27 14:51:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-27 22:40:42 +0000 |
commit | 12e6dac3bfa43a5720b02041e89283cf7557d2f1 (patch) | |
tree | 696295cedd4d20e085a14d6b78d0a53abe2f98b3 /meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | |
parent | 8b145a898a01ac4cd8b8f6e213789717ea0f2251 (diff) | |
download | poky-12e6dac3bfa43a5720b02041e89283cf7557d2f1.tar.gz |
igt-gpu-tools: Fix reproducibility issue
Add a configuration option to pass in srcdir, removing hard coded
build paths from the binaries.
(From OE-Core rev: d7e92e3a22f0c87aff4f452b51f50ec417d2949b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb')
-rw-r--r-- | meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | 5 |
1 files changed, 3 insertions, 2 deletions
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 89480d79d2..f25cbc0603 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 | |||
@@ -10,7 +10,8 @@ inherit meson | |||
10 | SRCREV = "d16ad07e7f2a028e14d61f570931c87fa5ce404c" | 10 | SRCREV = "d16ad07e7f2a028e14d61f570931c87fa5ce404c" |
11 | PV = "1.25+git${SRCPV}" | 11 | PV = "1.25+git${SRCPV}" |
12 | 12 | ||
13 | SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https" | 13 | SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https \ |
14 | file://reproducibility.patch" | ||
14 | 15 | ||
15 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
16 | 17 | ||
@@ -22,7 +23,7 @@ PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests" | |||
22 | 23 | ||
23 | PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-Dchamelium=disabled,gsl xmlrpc-c" | 24 | PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-Dchamelium=disabled,gsl xmlrpc-c" |
24 | 25 | ||
25 | EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled" | 26 | EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dsrcdir=/usr/src/debug/${PN}/${PV}-${PR}/git/" |
26 | COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux" | 27 | COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux" |
27 | COMPATIBLE_HOST_libc-musl_class-target = "null" | 28 | COMPATIBLE_HOST_libc-musl_class-target = "null" |
28 | SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}" | 29 | SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}" |