From 5b5e317abbca4d6a09930d0c7713d83088004610 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 3 Nov 2013 07:36:35 -0800 Subject: [PATCH] beaglebone.conf: Define policies for libgl* virtual providers Fixes errors like ERROR: Multiple .bb files are due to be built which each provide virtual/mesa (/home/kraj/work/angstrom-repo/sources/openembedded-core/meta/recipes-graphics/mesa/mesa_9.2.2.bb /home/kraj/work/angstrom-repo/sources/openembedded-core/meta/recipes-graphics/mesa/mesa-gl_9.2.2.bb). Signed-off-by: Khem Raj --- common-bsp/conf/machine/beaglebone.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common-bsp/conf/machine/beaglebone.conf b/common-bsp/conf/machine/beaglebone.conf index 67234733..943d2cd2 100644 --- a/common-bsp/conf/machine/beaglebone.conf +++ b/common-bsp/conf/machine/beaglebone.conf @@ -26,3 +26,10 @@ UBOOT_MACHINE = "am335x_evm_config" MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "kernel-devicetree-overlays" + +PREFERRED_PROVIDER_virtual/libgl = "mesa-gl" +PREFERRED_PROVIDER_virtual/egl = "libgles-omap3" +PREFERRED_PROVIDER_virtual/libgles1 = "libgles-omap3" +PREFERRED_PROVIDER_virtual/libgles2 = "libgles-omap3" +PREFERRED_PROVIDER_virtual/mesa = "mesa-gl" +