[meta-fsl-arm][PATCH v2 08/10] mesa-dri: Change provided set of libraries when building for iMX6


Otavio Salvador
 

This overrides the 8.0.4 and git versions of mesa-dri recipe.

Change-Id: Ica3e05ade74ccc8c8c2090cac2c2f9e72fb0f66d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
recipes-graphics/mesa/mesa-dri_8.0.4.bbappend | 4 +++-
recipes-graphics/mesa/mesa-dri_git.bbappend | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend b/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend
index 1dff9fe..8b5cfe6 100644
--- a/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend
+++ b/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend
@@ -1,5 +1,7 @@
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"

PROVIDES_mx5 = "virtual/libgl"
+PROVIDES_mx6 = "virtual/libgl"

PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}"
+PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}"
diff --git a/recipes-graphics/mesa/mesa-dri_git.bbappend b/recipes-graphics/mesa/mesa-dri_git.bbappend
index 1dff9fe..8b5cfe6 100644
--- a/recipes-graphics/mesa/mesa-dri_git.bbappend
+++ b/recipes-graphics/mesa/mesa-dri_git.bbappend
@@ -1,5 +1,7 @@
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"

PROVIDES_mx5 = "virtual/libgl"
+PROVIDES_mx6 = "virtual/libgl"

PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}"
+PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}"
--
1.7.10.4