diff options
Diffstat (limited to 'recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.8.bb')
-rw-r--r-- | recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.8.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.8.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.8.bb new file mode 100644 index 00000000..848ca7d1 --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.8.bb | |||
@@ -0,0 +1,35 @@ | |||
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=63a38e9f392d8813d6f1f4d0d6fbe657" | ||
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] = "0f7ceac3f8ce97d4f0f6ad5bb8a5bbd2" | ||
14 | SRC_URI[sha256sum] = "dfcda2c286076bb6080261901241eac2a9e9db8ebbd00f301d8f49665af4c835" | ||
15 | |||
16 | inherit fsl-eula-unpack | ||
17 | |||
18 | do_install () { | ||
19 | install -d ${D}${libdir} | ||
20 | install -d ${D}${includedir} | ||
21 | cp -d ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
22 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
23 | } | ||
24 | |||
25 | INSANE_SKIP:${PN} += "ldflags" | ||
26 | INSANE_SKIP:append:libc-musl = " file-rdeps" | ||
27 | RDEPENDS:${PN}:append:libc-musl = " gcompat" | ||
28 | |||
29 | # The packaged binaries have been stripped of debug info, so disable | ||
30 | # operations accordingly. | ||
31 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
32 | INHIBIT_PACKAGE_STRIP = "1" | ||
33 | INHIBIT_SYSROOT_STRIP = "1" | ||
34 | |||
35 | COMPATIBLE_MACHINE = "(imxdpu)" | ||