util/crossgcc: Fix broken link by Intel to acpica tarball
All requests to acpica.org are redirected to an intel.com site now,
which breaks our buildgcc script as it's unable to download the source
tarball. Use GitHub again as it's a more reliable source.
*rant*
Change-Id: Ie4570539d6c8abe59295e5a29b323b091e939f90
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76399
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Nicholas Chin <nic.c3.14@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index e994e76..ee458de 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -39,7 +39,7 @@
MPC_VERSION=1.3.1
GCC_VERSION=11.3.0
BINUTILS_VERSION=2.40
-IASL_VERSION=20230628
+IASL_VERSION="R06_28_23"
# CLANG version number
CLANG_VERSION=16.0.6
CMAKE_VERSION=3.26.4
@@ -51,7 +51,7 @@
MPC_ARCHIVE="mpc-${MPC_VERSION}.tar.gz"
GCC_ARCHIVE="gcc-${GCC_VERSION}.tar.xz"
BINUTILS_ARCHIVE="binutils-${BINUTILS_VERSION}.tar.xz"
-IASL_ARCHIVE="acpica-unix2-${IASL_VERSION}.tar.gz"
+IASL_ARCHIVE="${IASL_VERSION}.tar.gz"
# CLANG toolchain FILE locations
LLVM_ARCHIVE="llvm-${CLANG_VERSION}.src.tar.xz"
CLANG_ARCHIVE="clang-${CLANG_VERSION}.src.tar.xz"
@@ -71,7 +71,7 @@
MPC_BASE_URL="https://ftpmirror.gnu.org/mpc"
GCC_BASE_URL="https://ftpmirror.gnu.org/gcc/gcc-${GCC_VERSION}"
BINUTILS_BASE_URL="https://ftpmirror.gnu.org/binutils"
-IASL_BASE_URL="https://acpica.org/sites/acpica/files"
+IASL_BASE_URL="https://github.com/acpica/acpica/archive/refs/tags"
# CLANG toolchain archive locations
LLVM_BASE_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}"
CLANG_BASE_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}"
@@ -94,7 +94,7 @@
GCC_DIR="gcc-${GCC_VERSION}"
# shellcheck disable=SC2034
BINUTILS_DIR="binutils-${BINUTILS_VERSION}"
-IASL_DIR="acpica-unix2-${IASL_VERSION}"
+IASL_DIR="acpica-${IASL_VERSION}"
# CLANG toolchain directories
LLVM_DIR="llvm-${CLANG_VERSION}.src"
CLANG_DIR="clang-${CLANG_VERSION}.src"
diff --git a/util/crossgcc/patches/acpica-unix2-20230628_iasl.patch b/util/crossgcc/patches/acpica-R06_28_23_iasl.patch
similarity index 100%
rename from util/crossgcc/patches/acpica-unix2-20230628_iasl.patch
rename to util/crossgcc/patches/acpica-R06_28_23_iasl.patch
diff --git a/util/crossgcc/sum/R06_28_23.tar.gz.cksum b/util/crossgcc/sum/R06_28_23.tar.gz.cksum
new file mode 100644
index 0000000..37fa6cc
--- /dev/null
+++ b/util/crossgcc/sum/R06_28_23.tar.gz.cksum
@@ -0,0 +1 @@
+e37c8dd560bacb0190f2a0306a64f63564206c65 tarballs/R06_28_23.tar.gz
diff --git a/util/crossgcc/sum/acpica-unix2-20230628.tar.gz.cksum b/util/crossgcc/sum/acpica-unix2-20230628.tar.gz.cksum
deleted file mode 100644
index e4a83af..0000000
--- a/util/crossgcc/sum/acpica-unix2-20230628.tar.gz.cksum
+++ /dev/null
@@ -1 +0,0 @@
-7bdf0962efd6a24f36a5f7e366cc7257e3e6f23d tarballs/acpica-unix2-20230628.tar.gz