aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2016-09-08 17:54:53 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-03-18 13:58:34 +0000
commitf8e6a3a49eab582f8f9ce57616c99d75845c76d7 (patch)
tree4c3c8ff968403a86d94d46b72563e53e5e5f5433
parent57a2b531391067a133228febcf1a89a304b84638 (diff)
[COMMUNITY] glmark2 build fix
This solves the following warning related to package config dependency: glmark2-2014.03+AUTOINC+fa71af2dfa-r0 do_package_qa: QA Issue: glmark2 rdepends on libwayland-egl, but it isn't a build dependency, missing mesa in DEPENDS or PACKAGECONFIG? [build-deps] jsmoeller: Edit Signed-off-by (e -> é) to match character for gerrit. Change-Id: I2c448f3ddaef88c80bb5a3807bc8f96de269e5f4 Signed-off-by: Stéphane Desneux <stephane.desneux@iot.bzh> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r--meta-rcar-gen3/recipes-bsp/glmark2/glmark2_git.bbappend8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-bsp/glmark2/glmark2_git.bbappend b/meta-rcar-gen3/recipes-bsp/glmark2/glmark2_git.bbappend
new file mode 100644
index 0000000..c30a227
--- /dev/null
+++ b/meta-rcar-gen3/recipes-bsp/glmark2/glmark2_git.bbappend
@@ -0,0 +1,8 @@
+PACKAGECONFIG[drm-gl] = ",,virtual/libgl libdrm libgbm"
+PACKAGECONFIG[drm-gles2] = ",,virtual/libgles2 libdrm libgbm"
+PACKAGECONFIG[wayland-gl] = ",,virtual/libgl wayland wayland-kms"
+PACKAGECONFIG[wayland-gles2] = ",,virtual/libgles2 wayland wayland-kms"
+
+PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gles2', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gles2', '', d)} \
+"