diff options
Diffstat (limited to 'recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.8.bb')
-rw-r--r-- | recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.8.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.8.bb b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.8.bb new file mode 100644 index 00000000..1e204b00 --- /dev/null +++ b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.8.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | # Copyright (C) 2016 Freescale Semiconductor | ||
2 | # Copyright 2017-2018 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=5ab1a30d0cd181e3408077727ea5a2db" | ||
8 | |||
9 | RDEPENDS_${PN} = "libgal-imx libdrm" | ||
10 | |||
11 | PROVIDES += "virtual/libg2d" | ||
12 | |||
13 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
14 | |||
15 | S="${WORKDIR}/${PN}-${PV}" | ||
16 | |||
17 | inherit fsl-eula-unpack | ||
18 | |||
19 | SRC_URI[md5sum] = "5a14e335d329dbc33edb89f675821d5a" | ||
20 | SRC_URI[sha256sum] = "e8f27247b068f4f31e235e98f0eacf11eb0bb25cc6b710e5ca7f8f96d323004f" | ||
21 | |||
22 | do_install () { | ||
23 | |||
24 | install -d ${D}${libdir} | ||
25 | install -d ${D}${includedir} | ||
26 | |||
27 | cp -r ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
28 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
29 | cp -r ${S}/gpu-demos/opt ${D} | ||
30 | } | ||
31 | |||
32 | INSANE_SKIP_${PN} += "ldflags" | ||
33 | |||
34 | FILES_${PN} = "${libdir}/libg2d* /opt" | ||
35 | FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}" | ||
36 | |||
37 | COMPATIBLE_MACHINE = "(imxdpu)" | ||