summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-sys940x/conf/machine/sys940x.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-sys940x/conf/machine/sys940x.conf b/meta-sys940x/conf/machine/sys940x.conf
index ce45a205..5f8868de 100644
--- a/meta-sys940x/conf/machine/sys940x.conf
+++ b/meta-sys940x/conf/machine/sys940x.conf
@@ -27,6 +27,10 @@ PREFERRED_VERSION_emgd-driver-bin ?= "1.14"
SERIAL_CONSOLE = "115200 ttyS0"
APPEND += "console=ttyS0,115200 console=tty0"
-VA_FEATURES ?= "gst-va-intel va-intel"
+# Some of the EMGD components have dependency on libx11.
+# Add these only when Xserver is enabled with the EMGD driver
+# Otherwise unwanted X components will start showing up in the non-X images
+VA_FEATURES ?= "gst-va-intel va-intel \
+ ${@bb.utils.contains("XSERVER", "emgd-driver-bin", "emgd-driver-video emgd-gst-plugins-va-0.10.10 emgd-gst-plugins-mixvideo-0.10.34", "", d)}"
MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}"