[meta-intel] [PATCH 2/4] emenlow: EMGD package need opengl in DISTRO_FEATURES

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Wed Aug 14 12:46:46 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-emenlow/tmp-eglibc/work/emenlow-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-emenlow/conf/machine/emenlow.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-emenlow/conf/machine/emenlow.conf b/meta-emenlow/conf/machine/emenlow.conf
index 48a6c10..b27d454 100644
--- a/meta-emenlow/conf/machine/emenlow.conf
+++ b/meta-emenlow/conf/machine/emenlow.conf
@@ -14,6 +14,9 @@ require conf/machine/include/meta-intel.inc
 
 MACHINE_FEATURES += "va-impl-mixvideo"
 
+# the EMGD driver files need DRI, DRI2 & opengl support from xorg-xserver
+DISTRO_FEATURES_append = " opengl"
+
 MACHINE_HWCODECS ?= "va-intel"
 XSERVERCODECS ?= "emgd-driver-video emgd-gst-plugins-va \
                   emgd-gst-plugins-mixvideo gst-va-intel"
-- 
1.8.1.4




More information about the meta-intel mailing list