sys940x.conf: add EMGD VA components to VA_FEATURES variable

The following EMGD subpackages provide video acceleration and have
dependencies on libva and libx11:

  emgd-driver-video
  emgd-gst-plugins-va-0.10.10
  emgd-gst-plugins-mixvideo-0.10.34

Include these in the VA_FEATURES variable only when the EMGD XSERVER
is included in the image.

For images such as core-image-lsb which do not include X components,
including any of these emgd subpackages will pull in unwanted X
components.  This fixes that problem.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
This commit is contained in:
Nitin A Kamble 2012-12-19 12:06:35 -08:00 committed by Tom Zanussi
parent fdbf8ff892
commit edd483fde2

View File

@ -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}"