[yocto] change/modify recipe for OpenCV
Peter Balazovic
balazovic.peter at gmail.com
Thu Nov 24 02:40:16 PST 2016
Dears,
I'm building Yocto image and this includes OpenCV 2.4 release.
For example my loca.conf looks similar as
http://www.engcore.com/2014/02/building-opencv-2-4-x-for-freescales-i-mx6-bsp-yocto/
:
..
*CORE_IMAGE_EXTRA_INSTALL += "libopencv-core-dev libopencv-highgui-dev*
*libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev"*
..
I have located recipes *.bb @
*../sources/meta-openembedded/meta-oe/recipes-support/opencv/*
*opencv_2.4.bb <http://opencv_2.4.bb>*
*opencv_3.0.bb <http://opencv_3.0.bb>*
*.bbapend @
*../sources/meta-fsl-arm/openembedded-layer/recipes-support/opencv/*
*opencv_2.4.bbappend*
*opencv_3.0.bbappend*
Within fsl-imx-base.inc I can see reference to opencv_2.4.bbappend
*../sources/meta-fsl-bsp-release/imx/meta-sdk/conf/distro/include*
..
BBMASK .=
"|meta-fsl-arm/openembedded-layer/recipes-support/opencv/opencv_2.4.bbappend"
..
but replacing with 3.0 doesn't compile with 3.0.
I'd like to have OpenCV 3.0 installed.
1) How/what to modify/configure to get installed OpenCV 3.0 into image ?
2) How to control OpenCV build for Yocto and how packageconfig option to
use to turn on/off individual OpenCV options?
Thank you for your advice very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161124/9e1c4bc4/attachment.html>
More information about the yocto
mailing list