diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-12-17 11:35:44 -0800 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2012-12-21 09:52:40 -0600 |
commit | 3af6851d40cf3677dac09c2ba72ba70cc1364f88 (patch) | |
tree | 43ad9b6e6c61e2a44fd883b0185d98228bafe45f | |
parent | 95c9b6ced869ebab7c778b2741c963496140c00f (diff) | |
download | meta-intel-3af6851d40cf3677dac09c2ba72ba70cc1364f88.tar.gz |
crownbay.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.
This fixes the following bug:
[YOCTO #3507]
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
-rw-r--r-- | meta-crownbay/conf/machine/crownbay.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-crownbay/conf/machine/crownbay.conf b/meta-crownbay/conf/machine/crownbay.conf index 1fd9fe8a..0e10e76e 100644 --- a/meta-crownbay/conf/machine/crownbay.conf +++ b/meta-crownbay/conf/machine/crownbay.conf | |||
@@ -25,6 +25,10 @@ PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0" | |||
25 | 25 | ||
26 | APPEND += "video=vesafb vga=0x318 vmalloc=256MB" | 26 | APPEND += "video=vesafb vga=0x318 vmalloc=256MB" |
27 | 27 | ||
28 | VA_FEATURES ?= "gst-va-intel va-intel" | 28 | # Some of the EMGD components have dependency on libx11. |
29 | # Add these only when Xserver is enabled with the EMGD driver | ||
30 | # Otherwise unwanted X components will start showing up in the non-X images | ||
31 | VA_FEATURES ?= "gst-va-intel va-intel \ | ||
32 | ${@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)}" | ||
29 | 33 | ||
30 | MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}" | 34 | MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}" |