summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-03-06 20:07:41 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-07 22:44:55 +0000
commit7493b054f9c7e56f46ce804472f35f0a4dffbc72 (patch)
tree66775aa0702e6e9da0692cbba94bf8865c2128a2
parentafbdba9b12bc12638d82813d1cd31ec479971c4b (diff)
downloadpoky-7493b054f9c7e56f46ce804472f35f0a4dffbc72.tar.gz
kmscube: Fix build when x11 is absent in distro features
distros might use openGL but not x11 ( e.g. EGL ), therefore fix build for such combination (From OE-Core rev: 2b3ee9ac02ebeaee20be3460010005a4697ab402) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/kmscube/kmscube_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb
index 68cbe8c9fb..58ce26a3d5 100644
--- a/meta/recipes-graphics/kmscube/kmscube_git.bb
+++ b/meta/recipes-graphics/kmscube/kmscube_git.bb
@@ -24,3 +24,6 @@ DEPENDS = "virtual/libgbm"
24 24
25PACKAGECONFIG ??= "" 25PACKAGECONFIG ??= ""
26PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" 26PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base"
27
28CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
29