[master][PATCH 02/26] ti-sgx-ddk-um: avoid unnecessary dependency on -dev package

Denys Dmytriyenko

From: Matthias Schiffer <matthias.schiffer@...>

ti-sgx-ddk-um's do_install creates a symlink libGLESv2.so.1 to
libGLESv2.so. As this symlink will be installed to ti-sgx-ddk-um, but
its target libGLESv2.so is in ti-sgx-ddk-um-dev, the automated
dependency analysis will add ti-sgx-ddk-um-dev to ti-sgx-ddk-um's
RDEPENDS. This will pull in a large number of other -dev packages
through RDEPENDS and RRECOMMENDS in turn.

Avoid this by having libGLESv2.so.1 point to libGLESv2.so.2 instead of
libGLESv2.so, so the symlink's target is in ti-sgx-ddk-um as well.

Signed-off-by: Matthias Schiffer <matthias.schiffer@...>
Reviewed-by: Denys Dmytriyenko <denys@...>
Signed-off-by: Ryan Eatmon <reatmon@...>
Signed-off-by: Denys Dmytriyenko <denys@...>
.../recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-ti-bsp/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948=
957.bb b/meta-ti-bsp/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.=
index f4c71d25..d0edf1fe 100644
--- a/meta-ti-bsp/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
+++ b/meta-ti-bsp/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb
@@ -54,7 +54,7 @@ S =3D "${WORKDIR}/git"
do_install () {
- ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1
+ ln -sf libGLESv2.so.2 ${D}${libdir}/libGLESv2.so.1
chown -R root:root ${D}