diff options
Diffstat (limited to 'recipes-graphics/imx-gpu-g2d')
| -rw-r--r-- | recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.2.p0.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.2.p0.bb b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.2.p0.bb new file mode 100644 index 000000000..8be05f93f --- /dev/null +++ b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.2.p0.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | ||
| 2 | # Copyright 2017 NXP | ||
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 4 | |||
| 5 | DESCRIPTION = "GPU G2D library and apps for imx6" | ||
| 6 | LICENSE = "Proprietary" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=08fd295cce89b0a9c74b9b83ed74f671" | ||
| 8 | |||
| 9 | PROVIDES += "virtual/libg2d" | ||
| 10 | |||
| 11 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
| 12 | |||
| 13 | S="${WORKDIR}/${PN}-${PV}" | ||
| 14 | |||
| 15 | inherit fsl-eula-unpack | ||
| 16 | |||
| 17 | SRC_URI[md5sum] = "64720dda9b96fd7af5be7e2c654ab72a" | ||
| 18 | SRC_URI[sha256sum] = "070a95aa9942bd67e8ba4012962df74143bffb9998301ac097dab5e1437000d8" | ||
| 19 | |||
| 20 | do_install () { | ||
| 21 | |||
| 22 | install -d ${D}${libdir} | ||
| 23 | install -d ${D}${includedir} | ||
| 24 | |||
| 25 | cp ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
| 26 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
| 27 | cp -r ${S}/gpu-demos/opt ${D} | ||
| 28 | } | ||
| 29 | |||
| 30 | RDEPENDS_${PN} = "libgal-imx" | ||
| 31 | |||
| 32 | FILES_${PN} = "${libdir}/libg2d* /opt" | ||
| 33 | FILES_${PN}-dev = "${includedir}" | ||
| 34 | INSANE_SKIP_${PN} = "ldflags" | ||
| 35 | |||
| 36 | COMPATIBLE_MACHINE = "(mx6|mx7ulp)" | ||
