[meta-intel] [PATCH 3/4] fri2.conf: use the new method for specifying VA codecs

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Thu Jan 24 19:46:30 PST 2013


From: Nitin A Kamble <nitin.a.kamble at intel.com>

This replaces the old VA_FEATURES method to specify the codecs.

These VA codecs are included in the image when image has 'hwcodec'
in the IMAGE_FEATURES.

And one can disable the VA features by redefining the IMAGE_FEATURES
var in the local.conf .

The gst-va-intel package pulls in emgd driver and x11 pieces, hence
it is moved to the XSERVERCODECS var.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
 meta-fri2/conf/machine/fri2.conf |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/meta-fri2/conf/machine/fri2.conf b/meta-fri2/conf/machine/fri2.conf
index e116ac9..1853bc9 100644
--- a/meta-fri2/conf/machine/fri2.conf
+++ b/meta-fri2/conf/machine/fri2.conf
@@ -9,14 +9,12 @@ require conf/machine/include/tune-atom.inc
 require conf/machine/include/ia32-base.inc
 require conf/machine/include/meta-intel.inc
 
-# 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 emgd-gst-plugins-mixvideo", "", d)}"
+MACHINE_HWCODECS ?= "va-intel"
+XSERVERCODECS ?= "emgd-driver-video emgd-gst-plugins-va \
+                  emgd-gst-plugins-mixvideo gst-va-intel"
 
 MACHINE_FEATURES += "wifi 3g pcbios efi va-impl-mixvideo"
-MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2a-5 ${VA_FEATURES}"
+MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2a-5"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 PREFERRED_VERSION_linux-yocto = "3.4%"
-- 
1.7.3.4




More information about the meta-intel mailing list