diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2022-01-21 20:59:18 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2022-01-22 12:40:02 +0100 |
commit | 4dda991038ad6d609933509b698d395e06df59a2 (patch) | |
tree | d5afe5f82824166f94bbc0fa6ea927a01995aeed | |
parent | 8bcfaa71e035b6a1f89d5da5eb3c27850eb5ae45 (diff) | |
download | meta-freescale-4dda991038ad6d609933509b698d395e06df59a2.tar.gz |
opencv: imx: stop fetching tiny-dnn
With commit f7ca9ef27 ("cleanup: drop dnn_modern") [1] tiny-dnn is no
longer used by any module. There is no need to prefetch it.
This was part of OpenCV 3.4.2.
Prevents:
| WARNING: opencv-4.5.2.imx-r0 do_unpack: QA Issue: opencv: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol [src-uri-bad]
[1] https://github.com/opencv/opencv_contrib/commit/f7ca9ef279bbb9d7bbb791548725d91e46725550
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | recipes-support/opencv/opencv_4.5.2.imx.bb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/recipes-support/opencv/opencv_4.5.2.imx.bb b/recipes-support/opencv/opencv_4.5.2.imx.bb index df277d0e..f8824a18 100644 --- a/recipes-support/opencv/opencv_4.5.2.imx.bb +++ b/recipes-support/opencv/opencv_4.5.2.imx.bb | |||
@@ -265,11 +265,8 @@ SRC_URI += " \ | |||
265 | " | 265 | " |
266 | SRCREV_FORMAT:append = "_extra" | 266 | SRCREV_FORMAT:append = "_extra" |
267 | 267 | ||
268 | # Add tiny-dnn | 268 | # Patch DNN example |
269 | SRC_URI[tinydnn.md5sum] = "adb1c512e09ca2c7a6faef36f9c53e59" | ||
270 | SRC_URI[tinydnn.sha256sum] = "e2c61ce8c5debaa644121179e9dbdcf83f497f39de853f8dd5175846505aa18b" | ||
271 | SRC_URI += " \ | 269 | SRC_URI += " \ |
272 | https://github.com/tiny-dnn/tiny-dnn/archive/v1.0.0a3.tar.gz;destsuffix=git/3rdparty/tinydnn/tiny-dnn-1.0.0a3;name=tinydnn;unpack=false \ | ||
273 | file://OpenCV_DNN_examples.patch \ | 270 | file://OpenCV_DNN_examples.patch \ |
274 | " | 271 | " |
275 | 272 | ||
@@ -286,11 +283,6 @@ PACKAGECONFIG[openvx] = "-DWITH_OPENVX=ON -DOPENVX_ROOT=${STAGING_LIBDIR} -DOPEN | |||
286 | PACKAGECONFIG[qt5] = "-DWITH_QT=ON -DOE_QMAKE_PATH_EXTERNAL_HOST_BINS=${STAGING_BINDIR_NATIVE} -DCMAKE_PREFIX_PATH=${STAGING_BINDIR_NATIVE}/cmake,-DWITH_QT=OFF,qtbase qtbase-native," | 283 | PACKAGECONFIG[qt5] = "-DWITH_QT=ON -DOE_QMAKE_PATH_EXTERNAL_HOST_BINS=${STAGING_BINDIR_NATIVE} -DCMAKE_PREFIX_PATH=${STAGING_BINDIR_NATIVE}/cmake,-DWITH_QT=OFF,qtbase qtbase-native," |
287 | PACKAGECONFIG[tests-imx] = "-DINSTALL_TESTS=ON -DOPENCV_TEST_DATA_PATH=${S}/../extra/testdata, -DINSTALL_TESTS=OFF," | 284 | PACKAGECONFIG[tests-imx] = "-DINSTALL_TESTS=ON -DOPENCV_TEST_DATA_PATH=${S}/../extra/testdata, -DINSTALL_TESTS=OFF," |
288 | 285 | ||
289 | do_unpack_extra:append() { | ||
290 | mkdir -p ${S}/3rdparty/tinydnn/ | ||
291 | tar xzf ${WORKDIR}/v1.0.0a3.tar.gz -C ${S}/3rdparty/tinydnn/ | ||
292 | } | ||
293 | |||
294 | do_install:append() { | 286 | do_install:append() { |
295 | ln -sf opencv4/opencv2 ${D}${includedir}/opencv2 | 287 | ln -sf opencv4/opencv2 ${D}${includedir}/opencv2 |
296 | install -d ${D}${datadir}/OpenCV/samples/data | 288 | install -d ${D}${datadir}/OpenCV/samples/data |