mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
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>
This commit is contained in:
@@ -24,3 +24,6 @@ DEPENDS = "virtual/libgbm"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base"
|
||||
|
||||
CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user