summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-11-26 11:03:03 +0000
committerFelix Singer <felixsinger@posteo.net>2022-11-28 19:51:56 +0000
commit60a422736bde766489db8ff0dc2d56ab333c37cc (patch)
treeb010869bb254f46b1bbd51645064b5c529c5556c /util
parent99166482fe4baa00780ca3b45fce6ae75c4cdbfb (diff)
util/crossgcc: Use GitHub for downloading IASL
The download links from acpica.org [1] are not stable, and for some reason they named the release tarballs with .tar_0.gz. Thus, use the tarballs from their GitHub repository generated out of the release tags [2]. Tested locally and also IASL patch applies. [1] https://www.acpica.org/downloads [2] https://github.com/acpica/acpica/tags Signed-off-by: Felix Singer <felixsinger@posteo.net> Change-Id: I7b10dd1db4299aaef96bc29023bed874b660aba0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70021 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/crossgcc/buildgcc6
-rw-r--r--util/crossgcc/patches/acpica-R10_20_22_iasl.patch (renamed from util/crossgcc/patches/acpica-unix2-20221020_iasl.patch)0
-rw-r--r--util/crossgcc/sum/R10_20_22.tar.gz.cksum1
-rw-r--r--util/crossgcc/sum/acpica-unix2-20221020.tar.gz.cksum1
4 files changed, 4 insertions, 4 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 0d349f2dfe..6015102308 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -37,7 +37,7 @@ MPFR_VERSION=4.1.1
MPC_VERSION=1.2.1
GCC_VERSION=11.2.0
BINUTILS_VERSION=2.37
-IASL_VERSION=20221020
+IASL_VERSION="R10_20_22"
# CLANG version number
CLANG_VERSION=15.0.0
CMAKE_VERSION=3.24.2
@@ -52,7 +52,7 @@ MPFR_ARCHIVE="https://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.xz"
MPC_ARCHIVE="https://ftpmirror.gnu.org/mpc/mpc-${MPC_VERSION}.tar.gz"
GCC_ARCHIVE="https://ftpmirror.gnu.org/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.xz"
BINUTILS_ARCHIVE="https://ftpmirror.gnu.org/binutils/binutils-${BINUTILS_VERSION}.tar.xz"
-IASL_ARCHIVE="https://acpica.org/sites/acpica/files/acpica-unix2-${IASL_VERSION}.tar.gz"
+IASL_ARCHIVE="https://github.com/acpica/acpica/archive/refs/tags/${IASL_VERSION}.tar.gz"
# CLANG toolchain archive locations
LLVM_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/llvm-${CLANG_VERSION}.src.tar.xz"
CLANG_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/clang-${CLANG_VERSION}.src.tar.xz"
@@ -75,7 +75,7 @@ MPC_DIR="mpc-${MPC_VERSION}"
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-20221020_iasl.patch b/util/crossgcc/patches/acpica-R10_20_22_iasl.patch
index 55adb83af2..55adb83af2 100644
--- a/util/crossgcc/patches/acpica-unix2-20221020_iasl.patch
+++ b/util/crossgcc/patches/acpica-R10_20_22_iasl.patch
diff --git a/util/crossgcc/sum/R10_20_22.tar.gz.cksum b/util/crossgcc/sum/R10_20_22.tar.gz.cksum
new file mode 100644
index 0000000000..4669dab43c
--- /dev/null
+++ b/util/crossgcc/sum/R10_20_22.tar.gz.cksum
@@ -0,0 +1 @@
+560d9e43692e1957bcf24a9bdd663ffe77da88dd tarballs/R10_20_22.tar.gz
diff --git a/util/crossgcc/sum/acpica-unix2-20221020.tar.gz.cksum b/util/crossgcc/sum/acpica-unix2-20221020.tar.gz.cksum
deleted file mode 100644
index 1b2b5804da..0000000000
--- a/util/crossgcc/sum/acpica-unix2-20221020.tar.gz.cksum
+++ /dev/null
@@ -1 +0,0 @@
-bb175ba614e68d43a7a863335e83d3f832d3b41c tarballs/acpica-unix2-20221020.tar.gz