diff options
author | Koen Kooi <koen@openembedded.org> | 2009-07-15 10:25:23 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-07-15 10:25:23 +0200 |
commit | b1c45cdc203019a98e2a568235b98c7aa2f15ab6 (patch) | |
tree | 0d4d65898cafa05e0ef59cfd7425077bf08191a0 /recipes/powervr-drivers/libgles-omap3.inc | |
parent | dd48f4b5246ba3b5b32ea7dfa2a6df28d87ceab8 (diff) |
libgles-omap3: add recipe for upcoming 09 release
* This needs some runtime shuffling, so a new initscript
Diffstat (limited to 'recipes/powervr-drivers/libgles-omap3.inc')
-rw-r--r-- | recipes/powervr-drivers/libgles-omap3.inc | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc index 6813b71aab..789632237b 100644 --- a/recipes/powervr-drivers/libgles-omap3.inc +++ b/recipes/powervr-drivers/libgles-omap3.inc @@ -66,15 +66,7 @@ inherit update-rc.d INITSCRIPT_NAME = "pvr-init" INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ." -do_accept_license() { - export HOME="${WORKDIR}" - echo "Y -q -Y -${S}" | ${WORKDIR}/OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin --mode console -} - -addtask accept_license after do_unpack before do_configure +require ../dvsdk/ti-dspbios.inc 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 @@ -96,7 +88,7 @@ do_install () { cp -pP ${BINLOCATION}/gles1test1 ${D}${bindir}/ cp -pP ${BINLOCATION}/gles1_texture_stream ${D}${bindir}/ cp -pP ${BINLOCATION}/gles2test1 ${D}${bindir}/ - cp -pP ${BINLOCATION}/pvrsrvinit ${D}${bindir}/ + cp -pP ${BINLOCATION}/p[dv]* ${D}${bindir}/ cp -pP ${BINLOCATION}/xgles1test1 ${D}${bindir}/ cp -pP ${BINLOCATION}/freedesktop/kdrive/usr/X11R6_SGX/bin/Xsgx ${D}${bindir}/|| true @@ -106,6 +98,7 @@ do_install () { cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include/* ${D}${includedir}/ cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/LinuxOMAP3/Include/GLES/* ${D}${includedir}/GLES/ cp -pPr ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/GLES/* ${D}${includedir}/GLES2/ + cp -PPr ${S}/include/*.h ${D}${includedir} || true install -d ${D}${sysconfdir}/init.d/ cp -pP ${WORKDIR}/rc.pvr ${D}${sysconfdir}/init.d/pvr-init @@ -134,6 +127,7 @@ do_stage () { cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include/* ${STAGING_INCDIR}/ cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/LinuxOMAP3/Include/GLES/* ${STAGING_INCDIR}/GLES/ cp -pPr ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/GLES/* ${STAGING_INCDIR}/GLES2/ + cp -PPr ${S}/include/*.h ${STAGING_INCDIR} || true } pkg_postinst() { |