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 15:09:16 -0300 |
commit | aeb17125b4e3d6b1f390271a389c70dc4c615400 (patch) | |
tree | 1fefd0d2c3b0c11b4d30a250d856416ccdb1abcb /recipes-bsp | |
parent | 5910cd66fc290842218a17efffb4433026b27a52 (diff) | |
download | meta-freescale-aeb17125b4e3d6b1f390271a389c70dc4c615400.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>
Diffstat (limited to 'recipes-bsp')
-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 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() { | |||
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)" |