aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2016-09-08 17:54:53 +0300
committerRonan Le Martret <ronan.lemartret@iot.bzh>2018-05-16 09:34:37 +0200
commitee9d22cd0127153231c2d60f9441fa9e098e40b5 (patch)
tree563eef21beedda194e8fa227a164738ca1cff7d0
parentb7ed375eb8fe9b24b3767227b00c50aa70a633ed (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)} \
+"