[meta-intel] [PATCH 2/2] sys940x.conf: add EMGD VA components to VA_FEATURES var
nitin.a.kamble at intel.com
nitin.a.kamble at intel.com
Wed Dec 19 12:13:13 PST 2012
From: Nitin A Kamble <nitin.a.kamble at intel.com>
These EMGD subpackages
emgd-driver-video
emgd-gst-plugins-va-0.10.10
emgd-gst-plugins-mixvideo-0.10.34
provide video acceleration and have dependency on libva and libx11. Include
these in the VA_FEATURES variable only when Xserver with EMGD driver is part
of the image.
For Images such as core-image-lsb which do not include X components,
including any of these emgd subpackages will pull unwanted X components.
Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
meta-sys940x/conf/machine/sys940x.conf | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/meta-sys940x/conf/machine/sys940x.conf b/meta-sys940x/conf/machine/sys940x.conf
index ce45a20..5f8868d 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}"
--
1.7.3.4
More information about the meta-intel
mailing list