summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2012-12-19 20:06:35 (GMT)
committerTom Zanussi <tom.zanussi@intel.com>2012-12-21 15:59:12 (GMT)
commitedd483fde21e2bf581ebce1434f47b78d50ece20 (patch)
tree747f99e43328508c99d3b5c79b940dc6a164a870
parentfdbf8ff892884451bb90433f575dd79255c71cbe (diff)
downloadmeta-intel-edd483fde21e2bf581ebce1434f47b78d50ece20.tar.gz
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>
-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 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"
27SERIAL_CONSOLE = "115200 ttyS0" 27SERIAL_CONSOLE = "115200 ttyS0"
28APPEND += "console=ttyS0,115200 console=tty0" 28APPEND += "console=ttyS0,115200 console=tty0"
29 29
30VA_FEATURES ?= "gst-va-intel va-intel" 30# Some of the EMGD components have dependency on libx11.
31# Add these only when Xserver is enabled with the EMGD driver
32# Otherwise unwanted X components will start showing up in the non-X images
33VA_FEATURES ?= "gst-va-intel va-intel \
34 ${@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)}"
31 35
32MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}" 36MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}"