summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorJoao Lima <joao.lima@hbkworld.com>2025-10-09 18:23:45 +0100
committerKhem Raj <raj.khem@gmail.com>2025-10-09 11:04:34 -0700
commitecf51fd29413b33540383fc1a3292ba37235217b (patch)
tree0e44005d5985188368df429ceb38c5ddf3d3bb07 /meta-oe
parente7eb50fe25ef6462c6dca46beb88bc3c8dc86abc (diff)
downloadmeta-openembedded-ecf51fd29413b33540383fc1a3292ba37235217b.tar.gz
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 <joao.lima@hbkworld.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/openocd/openocd_git.bb4
1 files changed, 4 insertions, 0 deletions
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"
4DEPENDS = "libusb-compat libftdi" 4DEPENDS = "libusb-compat libftdi"
5RDEPENDS:${PN} = "libusb1" 5RDEPENDS:${PN} = "libusb1"
6 6
7MIRRORS += " \
8 git://repo.or.cz/openocd.git git://github.com/openocd-org/openocd.git \
9"
10
7SRC_URI = " \ 11SRC_URI = " \
8 git://repo.or.cz/openocd.git;protocol=http;name=openocd;branch=master \ 12 git://repo.or.cz/openocd.git;protocol=http;name=openocd;branch=master \
9 git://repo.or.cz/r/git2cl.git;protocol=http;destsuffix=tools/git2cl;name=git2cl;branch=master \ 13 git://repo.or.cz/r/git2cl.git;protocol=http;destsuffix=tools/git2cl;name=git2cl;branch=master \