summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-11-26 11:03:03 +0000
committerFelix Singer <felixsinger@posteo.net>2023-01-17 15:49:09 +0000
commit54d0cc9a3cf31963ebf0ca85a87a7e464ef678a7 (patch)
treef84a7172a2765592266fed6f5f65e2dac4a230f9
parent128c49e4e651c26d953fab2608b11338326391f9 (diff)
downloadcoreboot-4.18_branch.tar.gz
coreboot-4.18_branch.tar.bz2
coreboot-4.18_branch.zip
util/crossgcc: Use GitHub for downloading IASL4.18_branch
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 Original-signed-off-by: Felix Singer <felixsinger@posteo.net> Original-reviewed-on: https://review.coreboot.org/c/coreboot/+/70021 Original-reviewed-by: Angel Pons <th3fanbus@gmail.com> Original-reviewed-by: Elyes Haouas <ehaouas@noos.fr> Original-reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Original-tested-by: build bot (Jenkins) <no-reply@coreboot.org> Cherry-picked-from: 60a422736bde766489db8ff0dc2d56ab333c37cc Change-Id: I7b10dd1db4299aaef96bc29023bed874b660aba0 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70857 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
-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 d0364fd25227..eea6d5a8542f 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -37,7 +37,7 @@ MPFR_VERSION=4.1.0
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 55adb83af24c..55adb83af24c 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 000000000000..4669dab43c62
--- /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 1b2b5804da6b..000000000000
--- a/util/crossgcc/sum/acpica-unix2-20221020.tar.gz.cksum
+++ /dev/null
@@ -1 +0,0 @@
-bb175ba614e68d43a7a863335e83d3f832d3b41c tarballs/acpica-unix2-20221020.tar.gz