diff options
Diffstat (limited to 'recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.0.bb')
-rw-r--r-- | recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.0.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.0.bb new file mode 100644 index 00000000..ad8de74c --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.0.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | # Copyright (C) 2016 Freescale Semiconductor | ||
2 | # Copyright 2017-2022 NXP | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | DESCRIPTION = "G2D library using i.MX DPU" | ||
6 | LICENSE = "Proprietary" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" | ||
8 | |||
9 | DEPENDS = "libgal-imx libdrm" | ||
10 | PROVIDES += "virtual/libg2d" | ||
11 | |||
12 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | ||
13 | SRC_URI[md5sum] = "fa60a480c8d98cee969aa520bc829bf4" | ||
14 | SRC_URI[sha256sum] = "65acc7345dcaf39536d60ee4516ad731c403790ed05d61a818601392554a6620" | ||
15 | |||
16 | inherit fsl-eula-unpack | ||
17 | |||
18 | do_install () { | ||
19 | install -d ${D}${libdir} | ||
20 | install -d ${D}${includedir} | ||
21 | cp -r ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
22 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
23 | } | ||
24 | |||
25 | INSANE_SKIP:${PN} += "ldflags" | ||
26 | |||
27 | COMPATIBLE_MACHINE = "(imxdpu)" | ||