diff options
Diffstat (limited to 'recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.2.bb')
| -rw-r--r-- | recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.2.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.2.bb b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.2.bb new file mode 100644 index 000000000..09661c78f --- /dev/null +++ b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.2.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | ||
| 2 | # Copyright 2017-2019 NXP | ||
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 4 | |||
| 5 | DESCRIPTION = "GPU G2D library and apps for i.MX with 2D GPU and DPU" | ||
| 6 | LICENSE = "Proprietary" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=6c12031a11b81db21cdfe0be88cac4b3" | ||
| 8 | PROVIDES += "virtual/libg2d" | ||
| 9 | |||
| 10 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | ||
| 11 | SRC_URI[md5sum] = "b34737fe41688672e1d9522e931509f4" | ||
| 12 | SRC_URI[sha256sum] = "46c72ce9b98b7116e9f7f53a66aadc8fb66910473477c6553db77ed71e54d7ea" | ||
| 13 | |||
| 14 | inherit fsl-eula-unpack | ||
| 15 | |||
| 16 | do_install () { | ||
| 17 | install -d ${D}${libdir} | ||
| 18 | install -d ${D}${includedir} | ||
| 19 | cp -r ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
| 20 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
| 21 | cp -r ${S}/gpu-demos/opt ${D} | ||
| 22 | } | ||
| 23 | |||
| 24 | FILES_${PN} = "${libdir}/libg2d* /opt" | ||
| 25 | FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}" | ||
| 26 | INSANE_SKIP_${PN} += "ldflags" | ||
| 27 | |||
| 28 | RDEPENDS_${PN} = "libgal-imx libdrm" | ||
| 29 | |||
| 30 | COMPATIBLE_MACHINE = "(imxdpu)" | ||
