diff options
Diffstat (limited to 'meta/classes/mirrors.bbclass')
-rw-r--r-- | meta/classes/mirrors.bbclass | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass index 37dc449ade..ffdccff5fb 100644 --- a/meta/classes/mirrors.bbclass +++ b/meta/classes/mirrors.bbclass | |||
@@ -76,3 +76,14 @@ git://git.gnome.org/.* git://gitlab.gnome.org/GNOME/PATH;protocol=https \ | |||
76 | git://.*/.* git://HOST/PATH;protocol=https \ | 76 | git://.*/.* git://HOST/PATH;protocol=https \ |
77 | git://.*/.* git://HOST/git/PATH;protocol=https \ | 77 | git://.*/.* git://HOST/git/PATH;protocol=https \ |
78 | " | 78 | " |
79 | |||
80 | # Switch glibc and binutils recipes to use shallow clones as they're large and this | ||
81 | # improves user experience whilst allowing the flexibility of git urls in the recipes | ||
82 | BB_GIT_SHALLOW:pn-binutils = "1" | ||
83 | BB_GIT_SHALLOW:pn-binutils-cross-${TARGET_ARCH} = "1" | ||
84 | BB_GIT_SHALLOW:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "1" | ||
85 | BB_GIT_SHALLOW:pn-binutils-cross-testsuite = "1" | ||
86 | BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1" | ||
87 | BB_GIT_SHALLOW:pn-glibc = "1" | ||
88 | PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \ | ||
89 | git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/" | ||