fri2.conf: use the new method for specifying VA codecs

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@linuxfoundation.org>
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 2013-01-24 17:38:02 -08:00 committed by Tom Zanussi
parent f3bccf8f0c
commit 521a8a6bc4

View File

@ -9,14 +9,12 @@ require conf/machine/include/tune-atom.inc
require conf/machine/include/ia32-base.inc require conf/machine/include/ia32-base.inc
require conf/machine/include/meta-intel.inc require conf/machine/include/meta-intel.inc
# Some of the EMGD components have dependency on libx11. MACHINE_HWCODECS ?= "va-intel"
# Add these only when Xserver is enabled with the EMGD driver XSERVERCODECS ?= "emgd-driver-video emgd-gst-plugins-va \
# Otherwise unwanted X components will start showing up in the non-X images emgd-gst-plugins-mixvideo gst-va-intel"
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_FEATURES += "wifi 3g pcbios efi va-impl-mixvideo" 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_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto = "3.4%" PREFERRED_VERSION_linux-yocto = "3.4%"