blob: 862648eec5f7202dda1b7973c4cbc445c723f15e [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7MIRRORS += "\
8${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian/20180310T215105Z/pool \
9${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool \
10${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20110127T084257Z/debian/pool \
11${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool \
12${DEBIAN_MIRROR} http://ftp.de.debian.org/debian/pool \
13${DEBIAN_MIRROR} http://ftp.au.debian.org/debian/pool \
14${DEBIAN_MIRROR} http://ftp.cl.debian.org/debian/pool \
15${DEBIAN_MIRROR} http://ftp.hr.debian.org/debian/pool \
16${DEBIAN_MIRROR} http://ftp.fi.debian.org/debian/pool \
17${DEBIAN_MIRROR} http://ftp.hk.debian.org/debian/pool \
18${DEBIAN_MIRROR} http://ftp.hu.debian.org/debian/pool \
19${DEBIAN_MIRROR} http://ftp.ie.debian.org/debian/pool \
20${DEBIAN_MIRROR} http://ftp.it.debian.org/debian/pool \
21${DEBIAN_MIRROR} http://ftp.jp.debian.org/debian/pool \
22${DEBIAN_MIRROR} http://ftp.no.debian.org/debian/pool \
23${DEBIAN_MIRROR} http://ftp.pl.debian.org/debian/pool \
24${DEBIAN_MIRROR} http://ftp.ro.debian.org/debian/pool \
25${DEBIAN_MIRROR} http://ftp.si.debian.org/debian/pool \
26${DEBIAN_MIRROR} http://ftp.es.debian.org/debian/pool \
27${DEBIAN_MIRROR} http://ftp.se.debian.org/debian/pool \
28${DEBIAN_MIRROR} http://ftp.tr.debian.org/debian/pool \
29${GNU_MIRROR} https://mirrors.kernel.org/gnu \
30${KERNELORG_MIRROR} http://www.kernel.org/pub \
31${GNUPG_MIRROR} ftp://ftp.gnupg.org/gcrypt \
32${GNUPG_MIRROR} ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt \
33${GNUPG_MIRROR} ftp://mirrors.dotsrc.org/gcrypt \
34ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN \
35ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/ \
36ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/ \
37ftp://ftp.gnutls.org/gcrypt/gnutls ${GNUPG_MIRROR}/gnutls \
38http://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ \
39http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/ http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/ \
40${APACHE_MIRROR} http://www.us.apache.org/dist \
41${APACHE_MIRROR} http://archive.apache.org/dist \
42http://downloads.sourceforge.net/watchdog/ http://fossies.org/linux/misc/ \
43${SAVANNAH_GNU_MIRROR} http://download-mirror.savannah.gnu.org/releases \
44${SAVANNAH_NONGNU_MIRROR} http://download-mirror.savannah.nongnu.org/releases \
45ftp://sourceware.org/pub http://mirrors.kernel.org/sourceware \
46ftp://sourceware.org/pub http://gd.tuwien.ac.at/gnu/sourceware \
47ftp://sourceware.org/pub http://ftp.gwdg.de/pub/linux/sources.redhat.com/sourceware \
48cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
49svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
50git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
51gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
52hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
53bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
54p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
55osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
56https?://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
57ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
58npm://.*/?.* http://downloads.yoctoproject.org/mirror/sources/ \
59cvs://.*/.* http://sources.openembedded.org/ \
60svn://.*/.* http://sources.openembedded.org/ \
61git://.*/.* http://sources.openembedded.org/ \
62gitsm://.*/.* http://sources.openembedded.org/ \
63hg://.*/.* http://sources.openembedded.org/ \
64bzr://.*/.* http://sources.openembedded.org/ \
65p4://.*/.* http://sources.openembedded.org/ \
66osc://.*/.* http://sources.openembedded.org/ \
67https?://.*/.* http://sources.openembedded.org/ \
68ftp://.*/.* http://sources.openembedded.org/ \
69npm://.*/?.* http://sources.openembedded.org/ \
Andrew Geissler517393d2023-01-13 08:55:19 -060070${CPAN_MIRROR} https://cpan.metacpan.org/ \
Patrick Williams92b42cb2022-09-03 06:53:57 -050071https?://downloads.yoctoproject.org/releases/uninative/ https://mirrors.kernel.org/yocto/uninative/ \
72https?://downloads.yoctoproject.org/mirror/sources/ https://mirrors.kernel.org/yocto-sources/ \
73"
74
75# Use MIRRORS to provide git repo fallbacks using the https protocol, for cases
76# where git native protocol fetches may fail due to local firewall rules, etc.
77
78MIRRORS += "\
79git://salsa.debian.org/.* git://salsa.debian.org/PATH;protocol=https \
80git://git.gnome.org/.* git://gitlab.gnome.org/GNOME/PATH;protocol=https \
Patrick Williams73bd93f2024-02-20 08:07:48 -060081git://git.infradead.org/.* git://git.infraroot.at/PATH;protocol=https \
Patrick Williams92b42cb2022-09-03 06:53:57 -050082git://.*/.* git://HOST/PATH;protocol=https \
83git://.*/.* git://HOST/git/PATH;protocol=https \
84"
85
Patrick Williams39653562024-03-01 08:54:02 -060086# Switch llvm, glibc and binutils recipes to use shallow clones as they're large and this
Patrick Williams92b42cb2022-09-03 06:53:57 -050087# improves user experience whilst allowing the flexibility of git urls in the recipes
88BB_GIT_SHALLOW:pn-binutils = "1"
89BB_GIT_SHALLOW:pn-binutils-cross-${TARGET_ARCH} = "1"
90BB_GIT_SHALLOW:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "1"
91BB_GIT_SHALLOW:pn-binutils-cross-testsuite = "1"
92BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1"
Patrick Williams2390b1b2022-11-03 13:47:49 -050093BB_GIT_SHALLOW:pn-binutils-native = "1"
Patrick Williams7784c422022-11-17 07:29:11 -060094BB_GIT_SHALLOW:pn-nativesdk-binutils = "1"
95
Patrick Williams73bd93f2024-02-20 08:07:48 -060096BB_GIT_SHALLOW:pn-cross-localedef-native = "1"
Patrick Williams92b42cb2022-09-03 06:53:57 -050097BB_GIT_SHALLOW:pn-glibc = "1"
Patrick Williams73bd93f2024-02-20 08:07:48 -060098BB_GIT_SHALLOW:pn-glibc-tests = "1"
Patrick Williams92b42cb2022-09-03 06:53:57 -050099PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \
100 git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/"
Patrick Williams39653562024-03-01 08:54:02 -0600101
102BB_GIT_SHALLOW:pn-llvm = "1"
103BB_GIT_SHALLOW:pn-llvm-native = "1"
104BB_GIT_SHALLOW:pn-nativesdk-llvm = "1"