From: Etienne Cordonnier Date: Fri, 4 Nov 2022 14:24:43 +0000 (+0100) Subject: mirrors.bbclass: use shallow tarball for nativesdk-binutils X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2609 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18624a89cb09bab78f9200a7c63406c75845e3e3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mirrors.bbclass: use shallow tarball for nativesdk-binutils This is useful e.g. when using meta-clang, which introduces a dependency to nativesdk-binutils when populating the SDK, and then a full tarball of binutils is fetched additionally to a shallow tarball. Signed-off-by: Etienne Cordonnier Signed-off-by: Alexandre Belloni --- diff --git a/meta/classes-global/mirrors.bbclass b/meta/classes-global/mirrors.bbclass index 81fef7f660f..8b984de3bfe 100644 --- a/meta/classes-global/mirrors.bbclass +++ b/meta/classes-global/mirrors.bbclass @@ -91,6 +91,8 @@ BB_GIT_SHALLOW:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "1" BB_GIT_SHALLOW:pn-binutils-cross-testsuite = "1" BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1" BB_GIT_SHALLOW:pn-binutils-native = "1" +BB_GIT_SHALLOW:pn-nativesdk-binutils = "1" + BB_GIT_SHALLOW:pn-glibc = "1" PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \ git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/"