diff options
| author | Lauren Post <lauren.post@freescale.com> | 2013-07-19 13:17:26 -0500 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-08-25 17:36:46 -0300 |
| commit | 4712f20ee036a43156b426dedaa66a98fedb9231 (patch) | |
| tree | 769740cc07f8087c4077414cdc6d706c9c30c583 | |
| parent | f8eb411d59bf131572fe827773691cf23c06d811 (diff) | |
| download | meta-freescale-4712f20ee036a43156b426dedaa66a98fedb9231.tar.gz | |
gpu-viv-g2d: Add version 3.5.7-1.0.0
GPU 2D API libraries and sample applications
Change-Id: Id94b33879119e882f939668bad61a1a7364db89d
Signed-off-by: Lauren Post <lauren.post@freescale.com>
| -rw-r--r-- | meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc | 43 | ||||
| -rw-r--r-- | meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d_3.5.7-1.0.0.bb | 9 |
2 files changed, 52 insertions, 0 deletions
diff --git a/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc b/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc new file mode 100644 index 000000000..a6b7a5ea5 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | # Copyright (C) 2013 Freescale Semiconductor | ||
| 2 | |||
| 3 | DESCRIPTION = "GPU Vivante G2D library and sample applications for imx6" | ||
| 4 | SECTION = "libs" | ||
| 5 | LICENSE = "Proprietary" | ||
| 6 | PROVIDES += "virtual/libg2d" | ||
| 7 | |||
| 8 | inherit fsl-eula-unpack | ||
| 9 | |||
| 10 | PE = "1" | ||
| 11 | |||
| 12 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
| 13 | |||
| 14 | PACKAGES = "gpu-viv-g2d gpu-viv-g2d-dev gpu-viv-g2d-dbg" | ||
| 15 | |||
| 16 | # Inhibit warnings about files being stripped. | ||
| 17 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
| 18 | |||
| 19 | S = "${WORKDIR}/${PN}-${PV}" | ||
| 20 | |||
| 21 | do_install () { | ||
| 22 | install -d ${D}${libdir} | ||
| 23 | install -d ${D}${includedir} | ||
| 24 | |||
| 25 | cp ${S}/usr/lib/*.so ${D}${libdir} | ||
| 26 | cp -axr ${S}/usr/include/* ${D}${includedir} | ||
| 27 | cp -axr ${S}/opt ${D} | ||
| 28 | |||
| 29 | find ${D}${libdir} -type f -exec chmod 644 {} \; | ||
| 30 | find ${D}${includedir} -type f -exec chmod 644 {} \; | ||
| 31 | } | ||
| 32 | |||
| 33 | # FIXME: The provided binary doesn't provide soname. If in future BSP | ||
| 34 | # release the libraries are fixed, we can drop this hack. | ||
| 35 | REALSOLIBS := "${SOLIBS}" | ||
| 36 | SOLIBS = "${SOLIBSDEV}" | ||
| 37 | |||
| 38 | FILES_${PN} = "/opt ${libdir}/libg2d${SOLIBS} " | ||
| 39 | FILES_${PN}-dev = "${includedir}" | ||
| 40 | FILES_${PN}-dbg = "${libdir}/.debug/libg2d${SOLIBS}" | ||
| 41 | |||
| 42 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 43 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d_3.5.7-1.0.0.bb b/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d_3.5.7-1.0.0.bb new file mode 100644 index 000000000..349cb2ef2 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d_3.5.7-1.0.0.bb | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | # Copyright (C) 2013 Freescale Semiconductor | ||
| 2 | |||
| 3 | include gpu-viv-g2d.inc | ||
| 4 | |||
| 5 | LIC_FILES_CHKSUM = "file://usr/include/g2d.h;endline=7;md5=861ebad4adc7236f8d1905338abd7eb2" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "cb1939d1de300bbe334e6e8e0137ae57" | ||
| 8 | SRC_URI[sha256sum] = "460d0df171766edbea1fe6781a38346596ad13f748eb971296c04c261cec5450" | ||
| 9 | |||
