diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2019-06-14 14:05:04 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-09-12 14:45:07 -0300 |
commit | 98afe0f018691f8a03316c28c88170e8f9964818 (patch) | |
tree | d8f7b977f4c00546466b6e8c5d27bc8fa76f0c5c /recipes-graphics/imx-dpu-g2d | |
parent | c4b88fd8c0b51699bd87a21c0391bcfce0a028b0 (diff) | |
download | meta-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.bb | 19 |
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 @@ | |||
5 | DESCRIPTION = "GPU G2D library and apps for i.MX with 2D GPU and DPU" | 5 | DESCRIPTION = "GPU G2D library and apps for i.MX with 2D GPU and DPU" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=80c0478f4339af024519b3723023fe28" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=80c0478f4339af024519b3723023fe28" |
8 | |||
9 | RDEPENDS_${PN} = "libgal-imx libdrm" | ||
10 | |||
11 | PROVIDES += "virtual/libg2d" | 8 | PROVIDES += "virtual/libg2d" |
12 | 9 | ||
13 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | 10 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
14 | |||
15 | S="${WORKDIR}/${PN}-${PV}" | ||
16 | |||
17 | inherit fsl-eula-unpack | ||
18 | |||
19 | SRC_URI[md5sum] = "a47ae6db002b47031e44d8402c40604e" | 11 | SRC_URI[md5sum] = "a47ae6db002b47031e44d8402c40604e" |
20 | SRC_URI[sha256sum] = "5a2785ba1f4e4ea6f61ab98f8408600adca9decd66511e6665023325184bf7e9" | 12 | SRC_URI[sha256sum] = "5a2785ba1f4e4ea6f61ab98f8408600adca9decd66511e6665023325184bf7e9" |
21 | 13 | ||
22 | do_install () { | 14 | inherit fsl-eula-unpack |
23 | 15 | ||
16 | do_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 | ||
32 | INSANE_SKIP_${PN} += "ldflags" | ||
33 | |||
34 | FILES_${PN} = "${libdir}/libg2d* /opt" | 24 | FILES_${PN} = "${libdir}/libg2d* /opt" |
35 | FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}" | 25 | FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}" |
26 | INSANE_SKIP_${PN} += "ldflags" | ||
27 | |||
28 | RDEPENDS_${PN} = "libgal-imx libdrm" | ||
36 | 29 | ||
37 | COMPATIBLE_MACHINE = "(imxdpu)" | 30 | COMPATIBLE_MACHINE = "(imxdpu)" |