summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorAdam YH Lee <adam.yh.lee@gmail.com>2015-10-14 00:00:27 +0000
committerDenys Dmytriyenko <denys@ti.com>2016-02-08 12:22:33 -0500
commit65739cbc43bf68800b87329e7e680d74ab2d8335 (patch)
treed95d108167ac03a2002776bb3e971ca9bdc5818d /recipes-graphics
parente355f6fa2bffcec68a105e78a87643e10c24489f (diff)
downloadmeta-ti-65739cbc43bf68800b87329e7e680d74ab2d8335.tar.gz
libgles-omap3: fix RPM compatibility by faking hardcoded deps
When RPM is used as the packaging type, rootfs will fail because RPM, by design, check for file level dependency. Here one of the shared objects (libpvrEWS_REMWSEGL.so) has dependency on ld-linux.so.3 and libews.so. It is unclear why meta-ti requires ld-linux.so.3, which is a dynamic loader for soft-float arch. Hence I fake the existence here. Signed-off-by: Adam YH Lee <adam.yh.lee@gmail.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/libgles/libgles-omap3-no-x.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-graphics/libgles/libgles-omap3-no-x.inc b/recipes-graphics/libgles/libgles-omap3-no-x.inc
index 13418ad0..7681a26b 100644
--- a/recipes-graphics/libgles/libgles-omap3-no-x.inc
+++ b/recipes-graphics/libgles/libgles-omap3-no-x.inc
@@ -188,6 +188,9 @@ do_install () {
188 install -d ${D}${sysconfdir}/udev/rules.d 188 install -d ${D}${sysconfdir}/udev/rules.d
189 install -m 0644 ${WORKDIR}/99-bufferclass.rules ${D}${sysconfdir}/udev/rules.d/ 189 install -m 0644 ${WORKDIR}/99-bufferclass.rules ${D}${sysconfdir}/udev/rules.d/
190 190
191 touch ${D}${libdir}/ES5.0/ld-linux.so.3
192 touch ${D}${libdir}/ES5.0/ld-linux.so.3\(GLIBC_2.4\)
193 cp -pPR ${S}/gfx_rel_es5.x/libews.so ${D}${libdir}/ES5.0/
191} 194}
192 195
193PACKAGES =+ "${PN}-rawdemos ${PN}-rawtrainingcourses ${PN}-tests" 196PACKAGES =+ "${PN}-rawdemos ${PN}-rawtrainingcourses ${PN}-tests"
@@ -209,6 +212,7 @@ PRIVATE_LIBS_${PN}-es9 = "libGLESv2.so libIMGegl.so libsrv_um.so libpvr2d.so lib
209 212
210 213
211RPROVIDES_${PN} += "libGLESv2.so libEGL.so libGLES_CM.so libpvr2d.so libIMGegl.so libsrv_init.so libsrv_um.so libsrv_um_dri.so libglslcompiler.so" 214RPROVIDES_${PN} += "libGLESv2.so libEGL.so libGLES_CM.so libpvr2d.so libIMGegl.so libsrv_init.so libsrv_um.so libsrv_um_dri.so libglslcompiler.so"
215RPROVIDES_${PN}-es5 += "ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libews.so"
212 216
213PACKAGES =+ "${PN}-blitwsegl ${PN}-flipwsegl ${PN}-frontwsegl ${PN}-linuxfbwsegl" 217PACKAGES =+ "${PN}-blitwsegl ${PN}-flipwsegl ${PN}-frontwsegl ${PN}-linuxfbwsegl"
214FILES_${PN}-blitwsegl = "${libdir}/libpvrPVR2D_BLITWSEGL.so.*" 218FILES_${PN}-blitwsegl = "${libdir}/libpvrPVR2D_BLITWSEGL.so.*"
@@ -330,3 +334,8 @@ rm -f $D${sysconfdir}/powervr-esrev
330pkg_postinst_${PN}-linuxfbwsegl() { 334pkg_postinst_${PN}-linuxfbwsegl() {
331rm -f $D${sysconfdir}/powervr-esrev 335rm -f $D${sysconfdir}/powervr-esrev
332} 336}
337
338pkg_postinst_${PN}-es5() {
339rm -f $D${libdir}/ES5.0/ld-linux.so.3*
340rm -f $D${libdir}/ES5.0/libews.so
341}