summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Thomas <gary@mlbassoc.com>2015-06-16 07:08:51 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2015-07-06 14:50:59 -0300
commit60cf780424ea956af9759f3413175c1bafb2dfb3 (patch)
tree2a005f2820b29dc815f794154605ff0f21b72b5c
parent302464d74b729371b7d6c9108c7dc3949d95afb3 (diff)
downloadmeta-fsl-arm-60cf780424ea956af9759f3413175c1bafb2dfb3.tar.gz
imx-gpu-viv: Avoid duplicate values in PROVIDES
Additional packages are added to the PROVIDES variable, depending on the type of processor being supported, e.g. i.MX6Q, i.MX6SX, etc. The old way this was being set could add multiple versions of the same package to the PROVIDES variable which in turn can cause confusion with sstate, e.g. a number of i.MX6 machines use :mx6q:mx6dl in their overrides whereas others might only have :mx6q. With the previous setting of PROVIDES, this package would not be sharable via sstate between such machines. This patch changes the process so that these extra packages are only added once, improving the [re]usability of sstate. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
index ea19292..4b6e030 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
@@ -11,10 +11,11 @@ DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamag
11 base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 11 base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \
12 '', d), d)}" 12 '', d), d)}"
13 13
14PROVIDES += "virtual/wayland-egl virtual/libgal-x11 virtual/egl virtual/libopenvg virtual/libg2d" 14EXTRA_PROVIDES = ""
15PROVIDES_append_mx6q = " virtual/libgl virtual/libgles1 virtual/libgles2" 15EXTRA_PROVIDES_mx6q = " virtual/libgl virtual/libgles1 virtual/libgles2"
16PROVIDES_append_mx6dl = " virtual/libgl virtual/libgles1 virtual/libgles2" 16EXTRA_PROVIDES_mx6dl = " virtual/libgl virtual/libgles1 virtual/libgles2"
17PROVIDES_append_mx6sx = " virtual/libgl virtual/libgles1 virtual/libgles2" 17EXTRA_PROVIDES_mx6sx = " virtual/libgl virtual/libgles1 virtual/libgles2"
18PROVIDES += "virtual/wayland-egl virtual/libgal-x11 virtual/egl virtual/libopenvg virtual/libg2d ${EXTRA_PROVIDES}"
18 19
19PE = "1" 20PE = "1"
20 21