summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-08-30 14:19:09 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-05 11:18:01 (GMT)
commitc2cc797832e6ad6de234dea8456636c76f78ee33 (patch)
tree5ee7d727724f5096a5d1f00dd747e472c5e2adce
parenteaf696e19ed97745a879e42fffb94423aabe27e4 (diff)
downloadmeta-intel-c2cc797832e6ad6de234dea8456636c76f78ee33.tar.gz
meta-emenlow: unset preferred providers for virtual/libgles[12]1.3_beta
The recent changes to enable GLES/EGL in mesa-dri have caused emenlow to fail: ERROR: Trying to resolve runtime dependency libglu resulted in conflicting PREFERRED_PROVIDER entries being found. The providers found were: ['/srv/home/pokybuild/yocto-autobuilder/yocto-slave/emenlow/build/yocto/meta-intel/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb', '/srv/home/pokybuild/yocto-autobuilder/yocto-slave/emenlow/build/meta/recipes-graphics/mesa/mesa-dri_8.0.4.bb'] The PREFERRED_PROVIDER entries resulting in this conflict were: ['PREFERRED_PROVIDER_mesa-dri = xpsb-glx', 'PREFERRED_PROVIDER_virtual/libgles1 = mesa-dri'] Because emenlow's xpsb-glx contains mesa, it needs to entirely replace mesa-dri. We'd normally set virtual/libgles1 and virtual/libgles2 to xpsb-glx but these drivers don't build the GLES libraries so that would be a lie. So, unset the preferred provider entries so that bitbake doesn't look at mesa-dri at all. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
-rw-r--r--meta-emenlow/conf/machine/emenlow.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-emenlow/conf/machine/emenlow.conf b/meta-emenlow/conf/machine/emenlow.conf
index afb3866..65dcd5a 100644
--- a/meta-emenlow/conf/machine/emenlow.conf
+++ b/meta-emenlow/conf/machine/emenlow.conf
@@ -13,6 +13,8 @@ PREFERRED_PROVIDER_libdrm = "libdrm-poulsbo"
13PREFERRED_PROVIDER_drm = "libdrm-poulsbo" 13PREFERRED_PROVIDER_drm = "libdrm-poulsbo"
14PREFERRED_PROVIDER_virtual/libx11 = "libx11-trim" 14PREFERRED_PROVIDER_virtual/libx11 = "libx11-trim"
15PREFERRED_PROVIDER_virtual/libgl = "xpsb-glx" 15PREFERRED_PROVIDER_virtual/libgl = "xpsb-glx"
16PREFERRED_PROVIDER_virtual/libgles1 = ""
17PREFERRED_PROVIDER_virtual/libgles2 = ""
16PREFERRED_PROVIDER_virtual/xserver = "xserver-psb" 18PREFERRED_PROVIDER_virtual/xserver = "xserver-psb"
17PREFERRED_PROVIDER_virtual/xserver-xf86 = "xserver-psb" 19PREFERRED_PROVIDER_virtual/xserver-xf86 = "xserver-psb"
18PREFERRED_PROVIDER_mesa-dri = "xpsb-glx" 20PREFERRED_PROVIDER_mesa-dri = "xpsb-glx"