* This is a package with pre-built demos
* These demos will work on DRM
* Also contains utilities for SGX performance measurement

Signed-off-by: Jacob Stiffler <[email protected]>
---
v3 changes:
* Modified installation so that pre-built demos as installed to the
  same location as a previous package which provided the SGX demos.
  - Installation for the previous package was specified in the meta-ti
    layer in the file: recipes-graphics/libgles/libgles-omap3-no-x.inc

 .../img-pvr-sdk/img-pvr-sdk_3.3.2.bb               |   34 ++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 
meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb

diff --git 
a/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb 
b/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb
new file mode 100644
index 0000000..6e7cb6e
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "Imagination PowerVR SDK binaries for Jacinto6 SoC"
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = 
"file://Jacinto6-IMG-PowerVR-SDK-Manifest.pdf;md5=46bcbfc69f8837c339e15fd4a5044a8c"
+
+SRC_URI = "git://git.ti.com/graphics/img-pvr-sdk.git;protocol=git"
+SRCREV = "c2456ec3f03da022fb7489d6b381a4ac26a68203"
+
+PR = "r0"
+
+COMPATIBLE_MACHINE = "dra7xx"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+    install -d ${D}/opt/img-powervr-sdk
+    cp -ar ${S}/targetfs/PVRHub ${D}/opt/img-powervr-sdk
+    cp -ar ${S}/targetfs/PVRScopeDeveloper ${D}/opt/img-powervr-sdk
+
+    install -d ${D}${bindir}/SGX/demos/Raw/
+    install -m 755 ${S}/targetfs/Examples/Advanced/OGLES2ChameleonMan 
${D}${bindir}/SGX/demos/Raw/
+    install -m 755 ${S}/targetfs/Examples/Advanced/OGLES2Coverflow 
${D}${bindir}/SGX/demos/Raw/
+    install -m 755 ${S}/targetfs/Examples/Advanced/OGLES2ExampleUI 
${D}${bindir}/SGX/demos/Raw/
+    install -m 755 ${S}/targetfs/Examples/Advanced/OGLES2Navigation 
${D}${bindir}/SGX/demos/Raw/
+}
+
+
+INHIBIT_PACKAGE_STRIP = "1"
+
+INSANE_SKIP_${PN} += "dev-so staticdev"
+
+FILES_${PN} += " \
+    /opt/img-powervr-sdk/PVRHub/* \
+    /opt/img-powervr-sdk/PVRScopeDeveloper/* \
+"
-- 
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to