Adding FastCV in packageconfig option
Fastcv based Opencv HAL/Extensions are not supported on all platforms.
By default Upstream OpenCV expects it to be disabled.

Signed-off-by: Pulkit Singh Tak <quic_p...@quicinc.com>
---
 meta-oe/recipes-support/opencv/opencv_4.11.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/opencv/opencv_4.11.0.bb 
b/meta-oe/recipes-support/opencv/opencv_4.11.0.bb
index 07b3a9d9e6..97dccfe2fb 100644
--- a/meta-oe/recipes-support/opencv/opencv_4.11.0.bb
+++ b/meta-oe/recipes-support/opencv/opencv_4.11.0.bb
@@ -70,7 +70,6 @@ EXTRA_OECMAKE = 
"-DOPENCV_EXTRA_MODULES_PATH=${S}/contrib/modules \
     -DENABLE_PRECOMPILED_HEADERS=OFF \
     -DCMAKE_SKIP_RPATH=ON \
     -DWITH_IPP=OFF \
-    -DWITH_FASTCV=OFF \
     -DOPENCV_GENERATE_PKGCONFIG=ON \
     -DOPENCV_DOWNLOAD_PATH=${OPENCV_DLDIR} \
     -DOPENCV_ALLOW_DOWNLOADS=OFF \
@@ -121,6 +120,8 @@ PACKAGECONFIG[tests] = 
"-DBUILD_TESTS=ON,-DBUILD_TESTS=OFF,,"
 PACKAGECONFIG[text] = 
"-DBUILD_opencv_text=ON,-DBUILD_opencv_text=OFF,tesseract,"
 PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff,"
 PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils,"
+#Fastcv based Opencv HAL/Extensions are not supported on all platforms, hence 
disabling it by default
+PACKAGECONFIG[fastcv] = "-DWITH_FASTCV=ON,-DWITH_FASTCV=OFF,,"
 
 inherit pkgconfig cmake setuptools3-base python3native
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115327): 
https://lists.openembedded.org/g/openembedded-devel/message/115327
Mute This Topic: https://lists.openembedded.org/mt/111098636/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

  • [oe] [meta-oe][P... Pulkit Singh Tak (Temp) (QUIC) via lists.openembedded.org

Reply via email to