@@ -293,7 +293,7 @@ class Toolchain:
@property
def tarball_url(self):
return os.path.join(BASE_URL, self.arch, "tarballs",
- self.fname_prefix + ".tar.bz2")
+ self.fname_prefix + ".tar.xz")
@property
def hash_url(self):
@@ -416,7 +416,7 @@ class Toolchain:
def gen_mk(self, f):
f.write("ifeq ($(%s),y)\n" % self.option_name)
f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = %s\n" % self.version)
- f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = %s--%s--%s-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2\n" %
+ f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = %s--%s--%s-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.xz\n" %
(self.arch, self.libc, self.variant))
f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = %s\n" %
os.path.join(BASE_URL, self.arch, "tarballs"))
As of the 2024.05 toolchain release, the toolchain tarballs are now xz-compressed instead of bz2-compressed. Since this script is only meant to update to the latest toolchains, we don't really bother supporting the older toolchains that are bz2-compressed, and we simply assume the tarballs are xz-compressed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> --- support/scripts/gen-bootlin-toolchains | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)