[meta-intel] [PATCH 3/4] fri2: EMGD package need opengl in DISTRO_FEATURES
nitin.a.kamble at intel.com
nitin.a.kamble at intel.com
Wed Aug 14 12:46:47 PDT 2013
From: Nitin A Kamble <nitin.a.kamble at intel.com>
When opengl is not listed in DISTRO_FEATURES, the build with EMGD
package fails as seen below. The needed DRI, DRI2 & glx features
are disabled in the xserver-xorg when opengl is not listed in
DISTRO_FEATURES.
| * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-x11-base:
| * xserver-xorg-extension-glx * xserver-xorg-extension-dri * xserver-xorg-extension-dri2 *
| * opkg_install_cmd: Cannot install package packagegroup-core-x11-base.
| ERROR: Function failed: do_rootfs (log file is located at /srv/home/nitin/builds/build-fri2/tmp-eglibc/work/fri2-oe-linux/core-image-sato/1.0-r0/temp/log.do_rootfs.19450)
ERROR: Task 7 (/home/nitin/prj/openembedded-core.git/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1'
This is not an issue when building with poky distro, because
poky distro config enlists opengl in the DISTRO_FEATURES.
But when building with just plane oecore layer, this fix
is needed to avoid these build errors.
Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
meta-fri2/conf/machine/fri2.conf | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-fri2/conf/machine/fri2.conf b/meta-fri2/conf/machine/fri2.conf
index 3a3588b..8f12ea5 100644
--- a/meta-fri2/conf/machine/fri2.conf
+++ b/meta-fri2/conf/machine/fri2.conf
@@ -16,6 +16,9 @@ XSERVERCODECS ?= "emgd-driver-video emgd-gst-plugins-va \
MACHINE_FEATURES += "wifi 3g pcbios efi va-impl-mixvideo"
MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2a-5"
+# the EMGD driver files need DRI, DRI2 & opengl support from xorg-xserver
+DISTRO_FEATURES_append = " opengl"
+
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto = "3.8%"
--
1.8.1.4
More information about the meta-intel
mailing list