From 075189e8024f88228b02657372bf0e99c64e6ede Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Wed, 11 May 2022 13:09:37 -0500 Subject: imx-gpu-g2d: Fix install for multilib The do_install task doesn't account for multilib. Fix it by using the libdir variable. Signed-off-by: Tom Hochstein (cherry picked from commit f20a173501a4839b803765b57e3afc5f9f5a2147) --- recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p4.0.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p4.0.bb b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p4.0.bb index 90231106..1f3c2e60 100644 --- a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p4.0.bb +++ b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p4.0.bb @@ -1,5 +1,5 @@ # Copyright (C) 2016 Freescale Semiconductor -# Copyright 2017-2021 NXP +# Copyright 2017-2022 NXP # Copyright 2018 (C) O.S. Systems Software LTDA. # Released under the MIT license (see COPYING.MIT for the terms) @@ -22,7 +22,10 @@ S = "${WORKDIR}/${FSLBIN_NAME}" inherit fsl-eula-unpack do_install () { - cp -r -d --no-preserve=ownership ${S}/g2d/* ${D} + 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} } INSANE_SKIP:${PN} = "ldflags" -- cgit v1.2.3-54-g00ecf