diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-03-06 20:07:41 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-07 22:44:55 +0000 |
commit | 7493b054f9c7e56f46ce804472f35f0a4dffbc72 (patch) | |
tree | 66775aa0702e6e9da0692cbba94bf8865c2128a2 /meta/recipes-graphics/kmscube | |
parent | afbdba9b12bc12638d82813d1cd31ec479971c4b (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-graphics/kmscube')
-rw-r--r-- | meta/recipes-graphics/kmscube/kmscube_git.bb | 3 |
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 | ||
25 | PACKAGECONFIG ??= "" | 25 | PACKAGECONFIG ??= "" |
26 | PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" | 26 | PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" |
27 | |||
28 | CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" | ||
29 | |||