diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-28 16:53:46 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-08-03 16:29:57 -0300 |
| commit | be9c9a18283e64a32f203b221fcc9123180fe3dd (patch) | |
| tree | 785a9a9b10b7e0f6c939a6a0fcb478c5b6543e0e | |
| parent | a066ce9bfe828855b471e65b72871a3b019a80de (diff) | |
| download | meta-freescale-be9c9a18283e64a32f203b221fcc9123180fe3dd.tar.gz | |
opencv: Correct the patch header metadata
Five of the carried patches used "Inappropriate [i.MX specific]", which
is not one of the recognised reasons, so oelint.file.inappropriatemsg
fired on the recipe. Use [embedded specific], which oelint accepts and
which this layer already uses elsewhere. Only the headers change; the
diffs are untouched.
The two HoughLines patches also trip oelint.file.patchsignedoff, and
that one is suppressed rather than fixed. A Signed-off-by is a
certification the signer makes about their right to submit the code, so
it can be neither invented for the author named in the From: header nor
supplied by whoever happens to carry the patch downstream. These two
arrived through f95346d4 ("opencv: imx: update the i.mx fork to 4.13.0")
already without one, and their upstream submission could not be located
to recover it. There is nothing here for this layer to correct, so the
finding is marked as such in place.
The suppression sits on the SRC_URI block and therefore covers every
patch listed in it, not just these two; the comment says so, since a
future patch added there without a sign-off will not be reported either.
0001-Use-Os-to-compile-tinyxml2.cpp.patch is deliberately left alone.
It belongs to the marked "meta-openembedded copy" block of this recipe
and its header is byte-identical to meta-openembedded's own copy, which
still reads "[ OE-Specific ]". Rewriting it here would only make the
file differ from upstream; that fix belongs in meta-openembedded, so the
finding stays visible.
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
6 files changed, 12 insertions, 5 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch index 82afd5c72..6b5d092c1 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch | |||
| @@ -5,7 +5,7 @@ Subject: [PATCH 1/4] MGS-6470 [#ccc] Modify host ptr alignment size in UMAT | |||
| 5 | 5 | ||
| 6 | change CV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR from 4 to 64 | 6 | change CV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR from 4 to 64 |
| 7 | 7 | ||
| 8 | Upstream-Status: Inappropriate [i.MX specific] | 8 | Upstream-Status: Inappropriate [embedded specific] |
| 9 | Signed-off-by: Eric Guo <eric.guo@nxp.com> | 9 | Signed-off-by: Eric Guo <eric.guo@nxp.com> |
| 10 | --- | 10 | --- |
| 11 | modules/core/src/ocl.cpp | 2 +- | 11 | modules/core/src/ocl.cpp | 2 +- |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch index 50240093c..c19e7d58e 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch | |||
| @@ -6,7 +6,7 @@ Subject: [PATCH 2/4] MGS-6470 [#ccc] Add configuration parameter to force | |||
| 6 | 6 | ||
| 7 | USAGE: `set OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR=true` | 7 | USAGE: `set OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR=true` |
| 8 | 8 | ||
| 9 | Upstream-Status: Inappropriate [i.MX specific] | 9 | Upstream-Status: Inappropriate [embedded specific] |
| 10 | Signed-off-by: Eric Guo <eric.guo@nxp.com> | 10 | Signed-off-by: Eric Guo <eric.guo@nxp.com> |
| 11 | --- | 11 | --- |
| 12 | modules/core/src/ocl.cpp | 4 +++- | 12 | modules/core/src/ocl.cpp | 4 +++- |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch index 3b429b383..bd04a463f 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch | |||
| @@ -4,7 +4,7 @@ Date: Thu, 9 Dec 2021 15:25:42 +0800 | |||
| 4 | Subject: [PATCH 3/4] MGS-6470 [#ccc] Change configuration to enable hostptr in | 4 | Subject: [PATCH 3/4] MGS-6470 [#ccc] Change configuration to enable hostptr in |
| 5 | OpenCL by default. | 5 | OpenCL by default. |
| 6 | 6 | ||
| 7 | Upstream-Status: Inappropriate [i.MX specific] | 7 | Upstream-Status: Inappropriate [embedded specific] |
| 8 | Signed-off-by: Eric Guo <eric.guo@nxp.com> | 8 | Signed-off-by: Eric Guo <eric.guo@nxp.com> |
| 9 | --- | 9 | --- |
| 10 | modules/core/src/ocl.cpp | 2 +- | 10 | modules/core/src/ocl.cpp | 2 +- |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch index ebca4ce35..cc4e61f8b 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch | |||
| @@ -10,7 +10,7 @@ disabled the related ocl function in opencv_test_imgproc to avoid the following | |||
| 10 | 10 | ||
| 11 | error: syntax error at 'double4' | 11 | error: syntax error at 'double4' |
| 12 | 12 | ||
| 13 | Upstream-Status: Inappropriate [i.MX specific] | 13 | Upstream-Status: Inappropriate [embedded specific] |
| 14 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> | 14 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> |
| 15 | --- | 15 | --- |
| 16 | modules/imgproc/src/imgwarp.cpp | 4 ++++ | 16 | modules/imgproc/src/imgwarp.cpp | 4 ++++ |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch index d742b9123..f2ac82375 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch | |||
| @@ -10,7 +10,7 @@ This feature requires at least OpenCL 2.0 or higher. By default, the C++ C langu | |||
| 10 | 10 | ||
| 11 | is C++ C 1.2. Therefore, specify OpenCL version to 3.0 in the build-options. | 11 | is C++ C 1.2. Therefore, specify OpenCL version to 3.0 in the build-options. |
| 12 | 12 | ||
| 13 | Upstream-Status: Inappropriate [i.MX specific] | 13 | Upstream-Status: Inappropriate [embedded specific] |
| 14 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> | 14 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> |
| 15 | --- | 15 | --- |
| 16 | modules/video/src/dis_flow.cpp | 2 +- | 16 | modules/video/src/dis_flow.cpp | 2 +- |
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 ed11c3bfe..e10048095 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 | |||
| @@ -259,6 +259,13 @@ SRC_URI:prepend = "\ | |||
| 259 | git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${IMX_BASE_VERSION} " | 259 | git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${IMX_BASE_VERSION} " |
| 260 | 260 | ||
| 261 | # i.MX patches | 261 | # i.MX patches |
| 262 | # | ||
| 263 | # 0107 and 0108 carry no Signed-off-by. They came in from upstream review | ||
| 264 | # rather than from this layer, and a sign-off is a certification only their | ||
| 265 | # author can make, so there is nothing here for us to correct. Note this | ||
| 266 | # covers the whole block: a patch added below without a sign-off will not be | ||
| 267 | # reported either. | ||
| 268 | # nooelint: oelint.file.patchsignedoff | ||
| 262 | SRC_URI += "\ | 269 | SRC_URI += "\ |
| 263 | file://0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch \ | 270 | file://0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch \ |
| 264 | file://0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch \ | 271 | file://0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch \ |
