summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorEtienne Cordonnier <ecordonnier@snap.com>2022-10-28 09:58:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-09 17:42:14 +0000
commit6054c58908cc88b9a25ffa960165bb25c3eeca6e (patch)
tree301597497733bec031223f7e3c13eaaf35c5de84 /meta
parentcb9d9fd076bc2d994d79acdd38bd58954732d385 (diff)
downloadpoky-6054c58908cc88b9a25ffa960165bb25c3eeca6e.tar.gz
mirrors.bbclass: use shallow tarball for binutils-native
This is useful e.g. when using meta-clang, which introduces a dependency to binutils-native, and then a full tarball of binutils is fetched additionally to a shallow tarball. The original BB_GIT_SHALLOW lines were added because of https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg08752.html (From OE-Core rev: 0eee57ef03908c04e1567889f72d7187b5c1f657) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bd83b8b502ae935c75b59aaf71bbb531c9771dcc) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-global/mirrors.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-global/mirrors.bbclass b/meta/classes-global/mirrors.bbclass
index 9643b31a23..81fef7f660 100644
--- a/meta/classes-global/mirrors.bbclass
+++ b/meta/classes-global/mirrors.bbclass
@@ -90,6 +90,7 @@ BB_GIT_SHALLOW:pn-binutils-cross-${TARGET_ARCH} = "1"
90BB_GIT_SHALLOW:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "1" 90BB_GIT_SHALLOW:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "1"
91BB_GIT_SHALLOW:pn-binutils-cross-testsuite = "1" 91BB_GIT_SHALLOW:pn-binutils-cross-testsuite = "1"
92BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1" 92BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1"
93BB_GIT_SHALLOW:pn-binutils-native = "1"
93BB_GIT_SHALLOW:pn-glibc = "1" 94BB_GIT_SHALLOW:pn-glibc = "1"
94PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \ 95PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \
95 git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/" 96 git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/"