imx-dpu-g2d: add DPU recipe
The Display Processing Unit (DPU) on the i.MX8 is what NXP used to call Image Processing Unit (IPU) on the i.MX6 family. Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
e6cf2811c7
commit
8a5c4a3121
|
|
@ -0,0 +1,38 @@
|
||||||
|
# Copyright (C) 2016 Freescale Semiconductor
|
||||||
|
# Copyright 2017 NXP
|
||||||
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||||
|
|
||||||
|
DESCRIPTION = "GPU G2D library and apps for imx8"
|
||||||
|
LICENSE = "Proprietary"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=08fd295cce89b0a9c74b9b83ed74f671"
|
||||||
|
|
||||||
|
RDEPENDS_${PN} = "libgal-imx"
|
||||||
|
|
||||||
|
PROVIDES += "virtual/libg2d"
|
||||||
|
|
||||||
|
SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}-${PV}"
|
||||||
|
|
||||||
|
inherit fsl-eula-unpack
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "184d34978b65363bc1dcc885cb542f00"
|
||||||
|
SRC_URI[sha256sum] = "9d6de9dda50e30c9ef8453eb22533ce1d2bde5a85b14d39138005c3324d94da7"
|
||||||
|
|
||||||
|
do_install () {
|
||||||
|
install -d ${D}${libdir}
|
||||||
|
install -d ${D}${includedir}
|
||||||
|
|
||||||
|
cp -r ${S}/g2d/usr/lib/*.so* ${D}${libdir}
|
||||||
|
cp -Pr ${S}/g2d/usr/include/* ${D}${includedir}
|
||||||
|
cp -r ${S}/gpu-demos/opt ${D}
|
||||||
|
}
|
||||||
|
|
||||||
|
INSANE_SKIP_${PN} += "ldflags"
|
||||||
|
|
||||||
|
FILES_${PN} = "${libdir}/libg2d* /opt"
|
||||||
|
FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}"
|
||||||
|
|
||||||
|
# Compatible only with i.MX DPU
|
||||||
|
COMPATIBLE_MACHINE = "(^$)"
|
||||||
|
COMPATIBLE_MACHINE_imxdpu = "${MACHINE}"
|
||||||
Loading…
Reference in New Issue