diff options
| author | Joao Lima <joao.lima@hbkworld.com> | 2025-10-09 18:23:45 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-10-09 11:04:34 -0700 |
| commit | ecf51fd29413b33540383fc1a3292ba37235217b (patch) | |
| tree | 0e44005d5985188368df429ceb38c5ddf3d3bb07 /meta-oe | |
| parent | e7eb50fe25ef6462c6dca46beb88bc3c8dc86abc (diff) | |
| download | meta-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.bb | 4 |
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" | |||
| 4 | DEPENDS = "libusb-compat libftdi" | 4 | DEPENDS = "libusb-compat libftdi" |
| 5 | RDEPENDS:${PN} = "libusb1" | 5 | RDEPENDS:${PN} = "libusb1" |
| 6 | 6 | ||
| 7 | MIRRORS += " \ | ||
| 8 | git://repo.or.cz/openocd.git git://github.com/openocd-org/openocd.git \ | ||
| 9 | " | ||
| 10 | |||
| 7 | SRC_URI = " \ | 11 | SRC_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 \ |
