summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-dpu-g2d
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2019-06-14 14:05:04 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2019-09-12 14:45:07 -0300
commit98afe0f018691f8a03316c28c88170e8f9964818 (patch)
treed8f7b977f4c00546466b6e8c5d27bc8fa76f0c5c /recipes-graphics/imx-dpu-g2d
parentc4b88fd8c0b51699bd87a21c0391bcfce0a028b0 (diff)
downloadmeta-freescale-98afe0f018691f8a03316c28c88170e8f9964818.tar.gz
imx-dpu-g2d: Cleanup
- Fix order - Fix SRC_URI warning to use BPN, not PN - Remove redundant setting of S Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-graphics/imx-dpu-g2d')
-rw-r--r--recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.7.0.bb19
1 files changed, 6 insertions, 13 deletions
diff --git a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.7.0.bb b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.7.0.bb
index d29c2827..a4ca208a 100644
--- a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.7.0.bb
+++ b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.7.0.bb
@@ -5,33 +5,26 @@
5DESCRIPTION = "GPU G2D library and apps for i.MX with 2D GPU and DPU" 5DESCRIPTION = "GPU G2D library and apps for i.MX with 2D GPU and DPU"
6LICENSE = "Proprietary" 6LICENSE = "Proprietary"
7LIC_FILES_CHKSUM = "file://COPYING;md5=80c0478f4339af024519b3723023fe28" 7LIC_FILES_CHKSUM = "file://COPYING;md5=80c0478f4339af024519b3723023fe28"
8
9RDEPENDS_${PN} = "libgal-imx libdrm"
10
11PROVIDES += "virtual/libg2d" 8PROVIDES += "virtual/libg2d"
12 9
13SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" 10SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true"
14
15S="${WORKDIR}/${PN}-${PV}"
16
17inherit fsl-eula-unpack
18
19SRC_URI[md5sum] = "a47ae6db002b47031e44d8402c40604e" 11SRC_URI[md5sum] = "a47ae6db002b47031e44d8402c40604e"
20SRC_URI[sha256sum] = "5a2785ba1f4e4ea6f61ab98f8408600adca9decd66511e6665023325184bf7e9" 12SRC_URI[sha256sum] = "5a2785ba1f4e4ea6f61ab98f8408600adca9decd66511e6665023325184bf7e9"
21 13
22do_install () { 14inherit fsl-eula-unpack
23 15
16do_install () {
24 install -d ${D}${libdir} 17 install -d ${D}${libdir}
25 install -d ${D}${includedir} 18 install -d ${D}${includedir}
26
27 cp -r ${S}/g2d/usr/lib/*.so* ${D}${libdir} 19 cp -r ${S}/g2d/usr/lib/*.so* ${D}${libdir}
28 cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} 20 cp -Pr ${S}/g2d/usr/include/* ${D}${includedir}
29 cp -r ${S}/gpu-demos/opt ${D} 21 cp -r ${S}/gpu-demos/opt ${D}
30} 22}
31 23
32INSANE_SKIP_${PN} += "ldflags"
33
34FILES_${PN} = "${libdir}/libg2d* /opt" 24FILES_${PN} = "${libdir}/libg2d* /opt"
35FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}" 25FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}"
26INSANE_SKIP_${PN} += "ldflags"
27
28RDEPENDS_${PN} = "libgal-imx libdrm"
36 29
37COMPATIBLE_MACHINE = "(imxdpu)" 30COMPATIBLE_MACHINE = "(imxdpu)"