in my project:
./meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/opencv/opencv_%.bbappend
# Remove libav as it has LICENSE_FLAG commmerical
PACKAGECONFIG_remove = "libav"
# Camera cannot work with libv4l
EXTRA_OECMAKE += "-DWITH_LIBV4L=OFF \
./meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/opencv/opencv-samples_%.bbappend
# Install data files
do_install_append() {
install -d ${D}/${datadir}/opencv/data
cp -r ${S}/data/* ${D}/${datadir}/opencv/data
}
./meta-fsl-arm/openembedded-layer/recipes-support/opencv/opencv_%.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append_mx6sx = " file://0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch"
ps.I am using bitbake fsl-image-qt, then it download opencv, but alos failed. !