diff options
| author | Eric BENARD <eric@eukrea.com> | 2013-10-04 20:58:59 +0000 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-10-05 18:16:57 -0300 |
| commit | 2c988adcae0ebb28887f5956719498c88e4ded5d (patch) | |
| tree | 22f72b912b650f1c461d4cd6c158d4c38c8152c9 | |
| parent | 5e65c1415c14814f92ebe91f9a430a22cc6d76ef (diff) | |
| download | meta-freescale-2c988adcae0ebb28887f5956719498c88e4ded5d.tar.gz | |
imx-base: provide right package for amd-gpu-bin if x11 is disabled
so that users don't have to customize it outside,
else we get very stranges errors like :
ERROR: Multiple versions of mesa are due to be built
(/scratch/openembedded-core/meta/recipes-graphics/mesa/mesa_git.bb
/scratch/openembedded-core/meta/recipes-graphics/mesa/mesa_9.1.6.bb).
Only one version of a given PN should be built in any given build.
You likely need to set PREFERRED_VERSION_mesa to select the correct
version or don't depend on multiple versions.
Signed-off-by: Eric Bénard <eric@eukrea.com>
| -rw-r--r-- | meta-fsl-arm/conf/machine/include/imx-base.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-fsl-arm/conf/machine/include/imx-base.inc b/meta-fsl-arm/conf/machine/include/imx-base.inc index f5fa6ce0a..bea397017 100644 --- a/meta-fsl-arm/conf/machine/include/imx-base.inc +++ b/meta-fsl-arm/conf/machine/include/imx-base.inc | |||
| @@ -78,9 +78,10 @@ MACHINE_GSTREAMER_PLUGIN_mx3 ?= "" | |||
| 78 | MACHINE_GSTREAMER_PLUGIN_vf60 ?= "" | 78 | MACHINE_GSTREAMER_PLUGIN_vf60 ?= "" |
| 79 | 79 | ||
| 80 | # mx5 GPU libraries | 80 | # mx5 GPU libraries |
| 81 | PREFERRED_PROVIDER_virtual/egl_mx5 ?= "amd-gpu-x11-bin-mx51" | 81 | GPU_FLAVOUR = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11-', '', d)}" |
| 82 | PREFERRED_PROVIDER_virtual/libgles1_mx5 ?= "amd-gpu-x11-bin-mx51" | 82 | PREFERRED_PROVIDER_virtual/egl_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51" |
| 83 | PREFERRED_PROVIDER_virtual/libgles2_mx5 ?= "amd-gpu-x11-bin-mx51" | 83 | PREFERRED_PROVIDER_virtual/libgles1_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51" |
| 84 | PREFERRED_PROVIDER_virtual/libgles2_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51" | ||
| 84 | 85 | ||
| 85 | # mx6 GPU libraries | 86 | # mx6 GPU libraries |
| 86 | PREFERRED_PROVIDER_virtual/egl_mx6 ?= "gpu-viv-bin-mx6q" | 87 | PREFERRED_PROVIDER_virtual/egl_mx6 ?= "gpu-viv-bin-mx6q" |
