Skip to content

Commit

Permalink
beaglebone.conf: Define policies for libgl* virtual providers
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kraj committed Nov 3, 2013
1 parent 3715c72 commit 5b5e317
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions common-bsp/conf/machine/beaglebone.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 5b5e317

Please sign in to comment.