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-02-16 13:52:11 +0100
commit5f460a2b5f8a966c3e6589ad8a80a38a9bca336a (patch)
treea5d73ad69ff27795b33cfdff661125fa2a1b6349
parenta2bb613d9e0662a5a93ba04a9ca79f8d6088c95d (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)} \
+"