From ecf51fd29413b33540383fc1a3292ba37235217b Mon Sep 17 00:00:00 2001 From: Joao Lima Date: Thu, 9 Oct 2025 18:23:45 +0100 Subject: openocd: add fallback repository mirror Add a fallback mirror for the openocd repository fetch process, so that if the primary source repo.or.cz is unavailable, the build system will attempt to download the source code from the gitHub mirror. Signed-off-by: Joao Lima Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/openocd/openocd_git.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-oe/recipes-devtools/openocd/openocd_git.bb b/meta-oe/recipes-devtools/openocd/openocd_git.bb index b0c509988c..fd95c9b84a 100644 --- a/meta-oe/recipes-devtools/openocd/openocd_git.bb +++ b/meta-oe/recipes-devtools/openocd/openocd_git.bb @@ -4,6 +4,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=599d2d1ee7fc84c0467b3d19801db870" DEPENDS = "libusb-compat libftdi" RDEPENDS:${PN} = "libusb1" +MIRRORS += " \ + git://repo.or.cz/openocd.git git://github.com/openocd-org/openocd.git \ +" + SRC_URI = " \ git://repo.or.cz/openocd.git;protocol=http;name=openocd;branch=master \ git://repo.or.cz/r/git2cl.git;protocol=http;destsuffix=tools/git2cl;name=git2cl;branch=master \ -- cgit v1.2.3-54-g00ecf