meta-imx/meta-bsp/recipes-support/opencv/opencv_4.5.2.imx.bbappend
Mingyang Wang 1d7cc85db4 opencv_4.5.2: Fix opencv fetch issue
When fetch opencv source, it meets ERROR/WARNING as:
    "ERROR: opencv-4.5.2.imx-r0 do_fetch: Fetcher failure for URL: 'git://github.com/opencv/opencv_contrib.git;destsuffix=contrib;name=contrib'. Unable to fetch from any source.
    or
    "WARNING: opencv-4.5.2.imx-r0 do_fetch: Failed to fetch URL git://github.com/opencv/opencv_contrib.git;destsuffix=contrib;name=contrib, attempting MIRRORS if available."

- Use nobranch=1 to avoid the missing commit on master branch.
- Use protocol=https for Github urls.

Signed-off-by: Mingyang Wang <mingyang.wang@nxp.com>
Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-09-01 09:27:50 +08:00

10 lines
472 B
Plaintext

OPENCV_SRC = "git://github.com/nxp-imx/opencv-imx.git;protocol=https"
SRCREV_opencv = "5423d53ae0d116ee5bbe52f8b5503f0cd8586998"
# i.MX 8 build includes opencv_extra, add protocol=https;nobranch=1 to fetch
SRC_URI_remove = "git://github.com/opencv/opencv_extra.git;destsuffix=extra;name=extra"
SRC_URI += "git://github.com/opencv/opencv_extra.git;destsuffix=extra;name=extra;protocol=https;nobranch=1"
PACKAGECONFIG_OPENCL_mx8mnul = ""
PACKAGECONFIG_OPENCL_mx8mpul = ""