diff options
author | Koen Kooi <koen@openembedded.org> | 2010-10-06 13:24:31 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-10-06 13:24:31 +0200 |
commit | d50346e98ecc7e61601015ebb945bb6bec87b51a (patch) | |
tree | d674a4c8d0f60bb60dfc71e8fd8543171a87cf5c /recipes/powervr-drivers/libgles-omap3.inc | |
parent | 77869f42611c2bd93fd5114484e42920c95f5225 (diff) | |
download | openembedded-d50346e98ecc7e61601015ebb945bb6bec87b51a.tar.gz |
libgles-omap3: add ti816x support and fix packaging
Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/powervr-drivers/libgles-omap3.inc')
-rw-r--r-- | recipes/powervr-drivers/libgles-omap3.inc | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc index e97eb85ab3..938b59ba05 100644 --- a/recipes/powervr-drivers/libgles-omap3.inc +++ b/recipes/powervr-drivers/libgles-omap3.inc @@ -1,9 +1,9 @@ DESCRIPTION = "libGLES for the omap3" LICENSE = "proprietary-binary" -PR = "r6" +PR = "r7" -COMPATIBLE_MACHINE = "(omap3)" +COMPATIBLE_MACHINE = "(omap3|ti816x)" DEPENDS = "virtual/libx11 libxau libxdmcp" @@ -41,6 +41,7 @@ BINLOCATION ?= "${S}/gfx_rel" ES2LOCATION ?= "${S}/gfx_rel_es2.x" ES3LOCATION ?= "${S}/gfx_rel_es3.x" ES5LOCATION ?= "${S}/gfx_rel_es5.x" +ES6LOCATION ?= "${S}/gfx_rel_es6.x" do_configure() { # Attempt to fix up the worst offenders for file permissions @@ -165,12 +166,14 @@ do_install () { echo "[default]" > ${D}${sysconfdir}/powervr.ini echo "WindowSystem=libpvrPVR2D_FRONTWSEGL.so.1" >> ${D}${sysconfdir}/powervr.ini - # The ES2.x, ES3.x and ES5.x CPUs have different SGX hardware, so we need to install 2 sets of userspace + # The ES2.x, ES3.x, ES5.x and ES6.x CPUs have different SGX hardware, so we need to install multiple sets of userspace + install -d ${D}${libdir}/ES6.0 install -d ${D}${libdir}/ES5.0 install -d ${D}${libdir}/ES3.0 install -d ${D}${libdir}/ES2.0 + install -d ${D}${bindir}/ES6.0 install -d ${D}${bindir}/ES5.0 install -d ${D}${bindir}/ES3.0 install -d ${D}${bindir}/ES2.0 @@ -187,6 +190,13 @@ do_install () { cp ${ES5LOCATION}/p[dv]* ${D}${bindir}/ES5.0/ fi + if [ -e ${ES6LOCATION} ] ; then + cp -pPR ${ES6LOCATION}/lib*${IMGPV} ${D}${libdir}/ES6.0/ + cp ${ES6LOCATION}/p[dv]* ${D}${bindir}/ES6.0/ + fi + + rm ${D}${bindir}/ES*/*.h ${D}${bindir}/ES*/pdsasm ${D}${bindir}/pdsasm -f || true + install -d ${D}${prefix}/share/applications cp ${WORKDIR}/*.desktop ${D}${prefix}/share/applications rm ${D}${prefix}/share/applications/sample.desktop |