aboutsummaryrefslogtreecommitdiffstats
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 15:09:16 -0300
commitaeb17125b4e3d6b1f390271a389c70dc4c615400 (patch)
tree1fefd0d2c3b0c11b4d30a250d856416ccdb1abcb
parent5910cd66fc290842218a17efffb4433026b27a52 (diff)
downloadmeta-freescale-aeb17125b4e3d6b1f390271a389c70dc4c615400.tar.gz
meta-freescale-aeb17125b4e3d6b1f390271a389c70dc4c615400.tar.bz2
meta-freescale-aeb17125b4e3d6b1f390271a389c70dc4c615400.zip
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>
-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 53894baf..b106b985 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() {
RDEPENDS_${PN} = "libdrm libpython3"
-PACKAGES = "${PN} ${PN}-dev ${PN}-dbg"
-
-FILES_${PN} = "${libdir} /opt ${systemd_system_unitdir}/imx8-isp.service"
-FILES_${PN}-dbg += "${libdir}/.debug"
+# The build contains a mix of versioned and unversioned libraries, so
+# the default packaging configuration needs some modifications
+FILES_SOLIBSDEV = ""
+FILES_${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}"
+FILES_${PN}-dev += " \
+ ${libdir}/libjsoncpp.so \
+ ${libdir}/libos08a20.so \
+ ${libdir}/libov2775.so \
+"
-INSANE_SKIP_${PN} += "rpaths dev-deps dev-so"
-INSANE_SKIP_${PN}-dev += "rpaths dev-elf"
+INSANE_SKIP_${PN} = "rpaths"
COMPATIBLE_MACHINE = "(imx|use-nxp-bsp)"