diff options
Diffstat (limited to 'recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.4.bb')
| -rw-r--r-- | recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.4.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.4.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.4.bb new file mode 100644 index 000000000..667bc26bb --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.4.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 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=5a0bf11f745e68024f37b4724a5364fe" | ||
| 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] = "488d9f63b2d02c687a0bc8c3debfb51c" | ||
| 14 | SRC_URI[sha256sum] = "62050bc5dd35e942c97e7a8ab22b0b98d02e27a38935b585e622cdc5221ef2a3" | ||
| 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 | INSANE_SKIP:append:libc-musl = " file-rdeps" | ||
| 27 | |||
| 28 | # The packaged binaries have been stripped of debug info, so disable | ||
| 29 | # operations accordingly. | ||
| 30 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
| 31 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 32 | INHIBIT_SYSROOT_STRIP = "1" | ||
| 33 | |||
| 34 | COMPATIBLE_MACHINE = "(imxdpu)" | ||
| 35 | |||
| 36 | RDEPENDS:${PN}:append:libc-musl = " gcompat" | ||
