From 544ef5337e51ba21c48b562a94d2e8e9a7a71853 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Wed, 8 Apr 2020 15:04:22 +0200 Subject: [PATCH] zeus migration: opencv: fix build error There is a mismatch between the new upstream recipe that uses a cache folder to share the header files and the imx recipe that requires a specific folder. https://jira.digi.com/browse/DEL-7013 Signed-off-by: Arturo Buzarra --- meta-digi-dey/recipes-support/opencv/opencv_4.2.0.imx.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-digi-dey/recipes-support/opencv/opencv_4.2.0.imx.bb b/meta-digi-dey/recipes-support/opencv/opencv_4.2.0.imx.bb index aba916d8e..c323be5d7 100644 --- a/meta-digi-dey/recipes-support/opencv/opencv_4.2.0.imx.bb +++ b/meta-digi-dey/recipes-support/opencv/opencv_4.2.0.imx.bb @@ -40,6 +40,9 @@ PACKAGECONFIG[test] = "-DBUILD_TESTS=ON -DINSTALL_TESTS=ON -DOPENCV_TEST_DATA_PA do_unpack_extra_append() { mkdir -p ${S}/3rdparty/tinydnn/ tar xzf ${WORKDIR}/v1.0.0a3.tar.gz -C ${S}/3rdparty/tinydnn/ + # Workaround to fix build issue + cp ${WORKDIR}/vgg/*.i ${WORKDIR}/contrib/modules/xfeatures2d/src + cp ${WORKDIR}/boostdesc/*.i ${WORKDIR}/contrib/modules/xfeatures2d/src } do_install_append() {