summaryrefslogtreecommitdiffstats
path: root/dynamic-layers
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-08-12 17:41:40 -0300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2026-08-14 18:48:16 +0000
commit3b35d3f46e507262a2b6987699bdcee6e2ebf415 (patch)
tree918c07a6729ec547f0463fbff414592ac31232a2 /dynamic-layers
parent81abd98d6f22a4b6e63e251bc07d6c4a84c8001a (diff)
downloadmeta-freescale-3b35d3f46e507262a2b6987699bdcee6e2ebf415.tar.gz
opencv: Document FILES overrides per oelint.var.filesoverride
oelint.var.filesoverride flags six FILES assignments in this recipe. All are intentional and correct as written, so document each with an inline # nooelint rather than rewriting it: - ${PN} is intentionally empty (ALLOW_EMPTY:${PN}), with everything split into the sub-packages and the PACKAGES_DYNAMIC libopencv-* packages. - -dev is deliberately curated to headers/pkgconfig/cmake because the per-library dev symlinks ship via those dynamic packages; += would re-add the default ${libdir}/*.so and pull them out of the dynamic packages. - -apps, -java, -samples and python3-opencv are recipe-specific split packages with no default FILES, so '=' is a complete definition. These lines are kept byte-identical to meta-oe opencv_4.13.0.bb to avoid drift in this .imx fork. No functional change. Tested with opencv on imx8mp-lpddr4-evk; buildhistory unchanged. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit 2aeb8de99e5ef5a036f5c672eb56d515d96fe038)
Diffstat (limited to 'dynamic-layers')
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb
index e10048095..65b3f64b4 100644
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb
@@ -183,12 +183,24 @@ python populate_packages:prepend () {
183 183
184PACKAGES_DYNAMIC += "^libopencv-.*" 184PACKAGES_DYNAMIC += "^libopencv-.*"
185 185
186# Main package is intentionally empty (see ALLOW_EMPTY below); everything is
187# split into the sub-packages and the PACKAGES_DYNAMIC libopencv-* packages.
188# nooelint: oelint.var.filesoverride
186FILES:${PN} = "" 189FILES:${PN} = ""
187FILES:${PN}-dbg += "${datadir}/OpenCV/java/.debug/* ${datadir}/OpenCV/samples/bin/.debug/*" 190FILES:${PN}-dbg += "${datadir}/OpenCV/java/.debug/* ${datadir}/OpenCV/samples/bin/.debug/*"
191# -dev is curated to headers/pkgconfig/cmake; the per-library dev symlinks are
192# packaged by the PACKAGES_DYNAMIC libopencv-* packages, not the main -dev.
193# nooelint: oelint.var.filesoverride
188FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig ${libdir}/cmake/opencv4/*.cmake" 194FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig ${libdir}/cmake/opencv4/*.cmake"
189FILES:${PN}-staticdev += "${libdir}/opencv4/3rdparty/*.a" 195FILES:${PN}-staticdev += "${libdir}/opencv4/3rdparty/*.a"
196# -apps/-java/-samples are recipe-specific split packages (no default FILES), so
197# the '=' is a complete definition. Kept byte-identical to meta-oe
198# opencv_4.13.0.bb to avoid fork drift; suppress the append-preference warning.
199# nooelint: oelint.var.filesoverride
190FILES:${PN}-apps = "${bindir}/* ${datadir}/opencv4 ${datadir}/licenses" 200FILES:${PN}-apps = "${bindir}/* ${datadir}/opencv4 ${datadir}/licenses"
201# nooelint: oelint.var.filesoverride
191FILES:${PN}-java = "${datadir}/OpenCV/java" 202FILES:${PN}-java = "${datadir}/OpenCV/java"
203# nooelint: oelint.var.filesoverride
192FILES:${PN}-samples = "${datadir}/opencv4/samples/" 204FILES:${PN}-samples = "${datadir}/opencv4/samples/"
193 205
194INSANE_SKIP:${PN}-java = "libdir" 206INSANE_SKIP:${PN}-java = "libdir"
@@ -197,6 +209,9 @@ INSANE_SKIP:${PN}-dbg = "libdir"
197ALLOW_EMPTY:${PN} = "1" 209ALLOW_EMPTY:${PN} = "1"
198 210
199SUMMARY:python3-opencv = "Python bindings to opencv" 211SUMMARY:python3-opencv = "Python bindings to opencv"
212# Recipe-specific split package (no default FILES); '=' is a complete definition.
213# Kept byte-identical to meta-oe opencv_4.13.0.bb to avoid fork drift.
214# nooelint: oelint.var.filesoverride
200FILES:python3-opencv = "${PYTHON_SITEPACKAGES_DIR}/*" 215FILES:python3-opencv = "${PYTHON_SITEPACKAGES_DIR}/*"
201RDEPENDS:python3-opencv = "python3-core python3-numpy" 216RDEPENDS:python3-opencv = "python3-core python3-numpy"
202 217