diff options
author | Koen Kooi <koen@openembedded.org> | 2009-02-05 17:02:04 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-02-05 17:02:04 +0100 |
commit | 66194d313b7fd9736e14e964c1dfb71880b737ad (patch) | |
tree | ab74ae90d6a62a9af320c922174c4bfcccc60af9 /packages/powervr-drivers | |
parent | babe9960b9de0b20b4b7c51ced707cfb5afce6d9 (diff) |
libgles-omap3: try to do proper versioning, fix init script
Diffstat (limited to 'packages/powervr-drivers')
-rw-r--r-- | packages/powervr-drivers/libgles-omap3.inc | 15 | ||||
-rwxr-xr-x | packages/powervr-drivers/libgles-omap3/rc.pvr | 4 | ||||
-rw-r--r-- | packages/powervr-drivers/libgles-omap3_3.00.00.05.bb | 4 | ||||
-rw-r--r-- | packages/powervr-drivers/libgles-omap3_3.00.00.06.bb | 3 |
4 files changed, 16 insertions, 10 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}/ diff --git a/packages/powervr-drivers/libgles-omap3/rc.pvr b/packages/powervr-drivers/libgles-omap3/rc.pvr index 3fa0aff02f..4476a9d7e9 100755 --- a/packages/powervr-drivers/libgles-omap3/rc.pvr +++ b/packages/powervr-drivers/libgles-omap3/rc.pvr @@ -1,11 +1,11 @@ #!/bin/sh -rmmod bc_example +#rmmod bc_example rmmod omaplfb rmmod pvrsrvkm insmod $(busybox find /lib/modules/$(uname -r) -name "pvrsrvkm.ko") -modprobe bc_example +#modprobe bc_example modprobe omaplfb pvr_maj=`grep "pvrsrvkm$" /proc/devices | cut -b1,2,3` diff --git a/packages/powervr-drivers/libgles-omap3_3.00.00.05.bb b/packages/powervr-drivers/libgles-omap3_3.00.00.05.bb index 62c69a0ed0..814ca04637 100644 --- a/packages/powervr-drivers/libgles-omap3_3.00.00.05.bb +++ b/packages/powervr-drivers/libgles-omap3_3.00.00.05.bb @@ -2,11 +2,11 @@ require libgles-omap3.inc # Not released yet DEFAULT_PREFERENCE = "-1" -PR = "r2" +PR = "r3" SGXPV = "3_00_00_05" +IMGPV = "1.2.12.838" # Quality control is really poor on these SDKs, so hack around the latest madness: FILES_${PN} += "${libdir}/*.so" FILES_${PN}-dev = "${includedir}" - diff --git a/packages/powervr-drivers/libgles-omap3_3.00.00.06.bb b/packages/powervr-drivers/libgles-omap3_3.00.00.06.bb index 8a1ea57371..9fae1ff149 100644 --- a/packages/powervr-drivers/libgles-omap3_3.00.00.06.bb +++ b/packages/powervr-drivers/libgles-omap3_3.00.00.06.bb @@ -2,9 +2,10 @@ require libgles-omap3.inc # Not released yet DEFAULT_PREFERENCE = "-1" -PR = "r2" +PR = "r5" SGXPV = "3_00_00_06" +IMGPV = "1.3.13.1397" do_accept_license() { export HOME="${WORKDIR}" |