summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2021-04-27 17:38:20 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2021-04-30 18:33:13 -0300
commitce1f9ddf9e02d71c2336e7b29ce7f195cef45cb0 (patch)
tree3372768e135796be31681cf3df14cca13c84fc2e
parentaddcc3500c190485e0d2de58b9701ca687e3149f (diff)
downloadmeta-freescale-ce1f9ddf9e02d71c2336e7b29ce7f195cef45cb0.tar.gz
isp-imx: Cleanup packaging
Rework the packaging section of the recipe, reducing the packaging overrides to a minimum to handle a) installation to /opt, and b) the mix of versioned and unversioned libraries. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit aeb17125b4e3d6b1f390271a389c70dc4c615400)
-rw-r--r--recipes-bsp/isp-imx/isp-imx_4.2.2.11.0.bb16
1 files changed, 10 insertions, 6 deletions
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.11.0.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.11.0.bb
index 53894baf8..b106b985f 100644
--- a/recipes-bsp/isp-imx/isp-imx_4.2.2.11.0.bb
+++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.11.0.bb
@@ -70,12 +70,16 @@ do_install() {
70 70
71RDEPENDS_${PN} = "libdrm libpython3" 71RDEPENDS_${PN} = "libdrm libpython3"
72 72
73PACKAGES = "${PN} ${PN}-dev ${PN}-dbg" 73# The build contains a mix of versioned and unversioned libraries, so
74 74# the default packaging configuration needs some modifications
75FILES_${PN} = "${libdir} /opt ${systemd_system_unitdir}/imx8-isp.service" 75FILES_SOLIBSDEV = ""
76FILES_${PN}-dbg += "${libdir}/.debug" 76FILES_${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}"
77FILES_${PN}-dev += " \
78 ${libdir}/libjsoncpp.so \
79 ${libdir}/libos08a20.so \
80 ${libdir}/libov2775.so \
81"
77 82
78INSANE_SKIP_${PN} += "rpaths dev-deps dev-so" 83INSANE_SKIP_${PN} = "rpaths"
79INSANE_SKIP_${PN}-dev += "rpaths dev-elf"
80 84
81COMPATIBLE_MACHINE = "(imx|use-nxp-bsp)" 85COMPATIBLE_MACHINE = "(imx|use-nxp-bsp)"