diff options
Diffstat (limited to 'packages/powervr-drivers/libgles-omap3.inc')
-rw-r--r-- | packages/powervr-drivers/libgles-omap3.inc | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/packages/powervr-drivers/libgles-omap3.inc b/packages/powervr-drivers/libgles-omap3.inc index 3533c47ad9..b249a7538f 100644 --- a/packages/powervr-drivers/libgles-omap3.inc +++ b/packages/powervr-drivers/libgles-omap3.inc @@ -32,16 +32,21 @@ Y ${S}" | ${WORKDIR}/OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin } -addtask accept_license after do_unpack before do_compile - -do_compile () { - : +addtask accept_license after do_unpack before do_configure + +do_compile() { + for sofile in $(find ${S} -name "lib*Open*.so") $(find ${S} -name "lib*srv*.so") $(find ${S} -name "lib*gl*.so") $(find ${S} -name "libpvr*.so") $(find ${S} -name "lib*GL*.so"); do + if [ "$(readlink -n ${sofile})" = "" ] ; then + mv $sofile ${sofile}.${IMGPV} + ln -sf $(basename ${sofile}.${IMGPV}) ${sofile} + fi + done } do_install () { install -d ${D}${libdir} - cp -pR ${BINLOCATION}/*.so* ${D}${libdir} + cp -pP ${BINLOCATION}/*.so* ${D}${libdir} install -d ${D}${bindir}/ cp -pP ${BINLOCATION}/*_test ${D}${bindir}/ |