]> code.ossystems Code Review - meta-freescale.git/commitdiff
glmark2: don't build drm flavours for machines not supporting it
authorMax Krummenacher <max.krummenacher@toradex.com>
Mon, 16 Mar 2020 09:55:08 +0000 (10:55 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 16 Mar 2020 12:16:20 +0000 (09:16 -0300)
imx-gpu-viv_6.4.0.p1.0-aarch32 does not provide virtual/libgbm and thus
a build with drm* in PACKAGECONFIG does fail.
Thus remove drm* from PACKAGECONFIG for those machines.

| ERROR: Nothing PROVIDES 'virtual/libgbm' (but .../glmark2_git.bb DEPENDS on or otherwise requires it)
| gpulib PROVIDES virtual/libgbm but was skipped: incompatible with machine

fixes: 7801868f glmark2: Remove bbappend

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend [new file with mode: 0644]

diff --git a/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
new file mode 100644 (file)
index 0000000..2e648ba
--- /dev/null
@@ -0,0 +1,4 @@
+# Only _mx8 machine do provide virtual/libgbm required for any drm* flavour
+DRM-REMOVE_imxgpu = "drm-gl drm-gles2"
+DRM-REMOVE_imxgpu_mx8 = ""
+PACKAGECONFIG_remove = "${DRM-REMOVE}"