summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-07-06 10:12:39 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2013-07-20 18:25:23 -0300
commit6b6c184732be1eceb1642eaab8fe1fd18ccfc95d (patch)
tree6872bcd3d13b76ce947be276a9516cd01fe5e4bf /recipes-graphics
parentf70f8a6de23f9eb8ecbeb49fe90ad86eec7078b5 (diff)
downloadmeta-fsl-arm-6b6c184732be1eceb1642eaab8fe1fd18ccfc95d.tar.gz
gpu-viv-bin-mx6q.inc: Keep library package suffix for OpenGL interfaces
For the packages that make up the OpenGL interfaces, inject variables so that they don't get Debian-renamed (which would remove the -mx6 suffix). Change-Id: I203addf85c08a6f0c7cddaa6bfa45f6b896bf595 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 3354854..85ba283 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -50,12 +50,33 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
50REALSOLIBS := "${SOLIBS}" 50REALSOLIBS := "${SOLIBS}"
51SOLIBS = "${SOLIBSDEV}" 51SOLIBS = "${SOLIBSDEV}"
52 52
53# For the packages that make up the OpenGL interfaces, inject variables so that
54# they don't get Debian-renamed (which would remove the -mx6 suffix).
55#
53# FIXME: All binaries lack GNU_HASH in elf binary but as we don't have 56# FIXME: All binaries lack GNU_HASH in elf binary but as we don't have
54# the source we cannot fix it. Disable the insane check for now. 57# the source we cannot fix it. Disable the insane check for now.
55python __anonymous() { 58python __anonymous() {
56 packages = d.getVar('PACKAGES', True).split() 59 packages = d.getVar('PACKAGES', True).split()
57 for p in packages: 60 for p in packages:
58 d.appendVar("INSANE_SKIP_%s" % p, " ldflags") 61 d.appendVar("INSANE_SKIP_%s" % p, " ldflags")
62
63 for p in (("libegl", "libegl1"), ("libgl", "libgl1"),
64 ("libgles1", "libglesv1-cm1"), ("libgles2", "libglesv2-2"),
65 ("libgles3",)):
66 fullp = p[0] + "-mx6"
67 pkgs = " ".join(p)
68 d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1")
69 d.appendVar("RREPLACES_" + fullp, pkgs)
70 d.appendVar("RPROVIDES_" + fullp, pkgs)
71 d.appendVar("RCONFLICTS_" + fullp, pkgs)
72
73 # For -dev, the first element is both the Debian and original name
74 fullp += "-dev"
75 pkgs = p[0] + "-dev"
76 d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1")
77 d.appendVar("RREPLACES_" + fullp, pkgs)
78 d.appendVar("RPROVIDES_" + fullp, pkgs)
79 d.appendVar("RCONFLICTS_" + fullp, pkgs)
59} 80}
60 81
61do_install () { 82do_install () {