diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-04-27 17:38:20 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-04-30 18:33:13 -0300 |
commit | ce1f9ddf9e02d71c2336e7b29ce7f195cef45cb0 (patch) | |
tree | 3372768e135796be31681cf3df14cca13c84fc2e | |
parent | addcc3500c190485e0d2de58b9701ca687e3149f (diff) | |
download | meta-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.bb | 16 |
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 | ||
71 | RDEPENDS_${PN} = "libdrm libpython3" | 71 | RDEPENDS_${PN} = "libdrm libpython3" |
72 | 72 | ||
73 | PACKAGES = "${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 | |
75 | FILES_${PN} = "${libdir} /opt ${systemd_system_unitdir}/imx8-isp.service" | 75 | FILES_SOLIBSDEV = "" |
76 | FILES_${PN}-dbg += "${libdir}/.debug" | 76 | FILES_${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}" |
77 | FILES_${PN}-dev += " \ | ||
78 | ${libdir}/libjsoncpp.so \ | ||
79 | ${libdir}/libos08a20.so \ | ||
80 | ${libdir}/libov2775.so \ | ||
81 | " | ||
77 | 82 | ||
78 | INSANE_SKIP_${PN} += "rpaths dev-deps dev-so" | 83 | INSANE_SKIP_${PN} = "rpaths" |
79 | INSANE_SKIP_${PN}-dev += "rpaths dev-elf" | ||
80 | 84 | ||
81 | COMPATIBLE_MACHINE = "(imx|use-nxp-bsp)" | 85 | COMPATIBLE_MACHINE = "(imx|use-nxp-bsp)" |