diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:19:58 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:19:58 +0200 |
commit | f98b448ee835646be48f530b3e6fe13b32b093f5 (patch) | |
tree | 9d1062f1e8893e72829df650f5e558c5fb255955 /recipes-graphics/gpu-viv-g2d | |
download | meta-fsl-arm-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-graphics/gpu-viv-g2d')
-rw-r--r-- | recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc | 45 | ||||
-rw-r--r-- | recipes-graphics/gpu-viv-g2d/gpu-viv-g2d_3.10.17-1.0.0.bb | 6 |
2 files changed, 51 insertions, 0 deletions
diff --git a/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc b/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc new file mode 100644 index 0000000..ce0c74f --- /dev/null +++ b/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc | |||
@@ -0,0 +1,45 @@ | |||
1 | # Copyright (C) 2013, 2014 Freescale Semiconductor | ||
2 | |||
3 | DESCRIPTION = "GPU Vivante G2D library and sample applications for imx6" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "Proprietary" | ||
6 | LIC_FILES_CHKSUM = "file://usr/include/g2d.h;endline=7;md5=861ebad4adc7236f8d1905338abd7eb2" | ||
7 | |||
8 | PROVIDES += "virtual/libg2d" | ||
9 | |||
10 | PACKAGES = "${PN} ${PN}-dev ${PN}-dbg" | ||
11 | |||
12 | inherit fsl-eula-unpack | ||
13 | |||
14 | PE = "1" | ||
15 | |||
16 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
17 | |||
18 | PACKAGES += "libg2d" | ||
19 | |||
20 | # Inhibit warnings about files being stripped. | ||
21 | INHIBIT_PACKAGE_STRIP = "1" | ||
22 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
23 | |||
24 | do_install () { | ||
25 | install -d ${D}${libdir} | ||
26 | install -d ${D}${includedir} | ||
27 | |||
28 | cp ${S}/usr/lib/*.so ${D}${libdir} | ||
29 | cp -axr ${S}/usr/include/* ${D}${includedir} | ||
30 | cp -axr ${S}/opt ${D} | ||
31 | |||
32 | find ${D}${libdir} -type f -exec chmod 644 {} \; | ||
33 | find ${D}${includedir} -type f -exec chmod 644 {} \; | ||
34 | } | ||
35 | |||
36 | # FIXME: The provided binary doesn't provide soname. If in future BSP | ||
37 | # release the libraries are fixed, we can drop this hack. | ||
38 | REALSOLIBS := "${SOLIBS}" | ||
39 | SOLIBS = "${SOLIBSDEV}" | ||
40 | |||
41 | FILES_${PN} = "/opt" | ||
42 | FILES_libg2d = "${libdir}/libg2d-viv${SOLIBS} ${libdir}/libg2d${SOLIBS}" | ||
43 | FILES_${PN}-dev = "${includedir}" | ||
44 | |||
45 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d_3.10.17-1.0.0.bb b/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d_3.10.17-1.0.0.bb new file mode 100644 index 0000000..de83d95 --- /dev/null +++ b/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d_3.10.17-1.0.0.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | # Copyright (C) 2013, 2014 Freescale Semiconductor | ||
2 | |||
3 | include gpu-viv-g2d.inc | ||
4 | |||
5 | SRC_URI[md5sum] = "58dfe0fe674dcf82045d0af999ebd2f4" | ||
6 | SRC_URI[sha256sum] = "5fcb6f294f94c059162d7b178f76f660d27ddab7ba0fc4344f1b28b30f71e261" | ||