From 60a422736bde766489db8ff0dc2d56ab333c37cc Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sat, 26 Nov 2022 11:03:03 +0000 Subject: 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 Change-Id: I7b10dd1db4299aaef96bc29023bed874b660aba0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70021 Reviewed-by: Angel Pons Reviewed-by: Elyes Haouas Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- util/crossgcc/patches/acpica-R10_20_22_iasl.patch | 28 ++++++++++++++++++++++ .../patches/acpica-unix2-20221020_iasl.patch | 28 ---------------------- 2 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 util/crossgcc/patches/acpica-R10_20_22_iasl.patch delete mode 100644 util/crossgcc/patches/acpica-unix2-20221020_iasl.patch (limited to 'util/crossgcc/patches') diff --git a/util/crossgcc/patches/acpica-R10_20_22_iasl.patch b/util/crossgcc/patches/acpica-R10_20_22_iasl.patch new file mode 100644 index 0000000000..55adb83af2 --- /dev/null +++ b/util/crossgcc/patches/acpica-R10_20_22_iasl.patch @@ -0,0 +1,28 @@ +diff --git a/source/compiler/asloptions.c b/source/compiler/asloptions.c +index 4bf9465ba..14c61a122 100644 +--- a/source/compiler/asloptions.c ++++ b/source/compiler/asloptions.c +@@ -234,6 +234,7 @@ AslCommandLine ( + if (AslGbl_DoSignon) + { + printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); ++ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); + if (AslGbl_IgnoreErrors) + { + printf ("Ignoring all errors, forcing AML file generation\n\n"); +@@ -866,6 +867,7 @@ AslDoOptions ( + case '^': + + printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); ++ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); + exit (0); + + case 'a': +@@ -879,6 +881,7 @@ AslDoOptions ( + + printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); + printf (ACPI_COMMON_BUILD_TIME); ++ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); + exit (0); + + case 'e': diff --git a/util/crossgcc/patches/acpica-unix2-20221020_iasl.patch b/util/crossgcc/patches/acpica-unix2-20221020_iasl.patch deleted file mode 100644 index 55adb83af2..0000000000 --- a/util/crossgcc/patches/acpica-unix2-20221020_iasl.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/source/compiler/asloptions.c b/source/compiler/asloptions.c -index 4bf9465ba..14c61a122 100644 ---- a/source/compiler/asloptions.c -+++ b/source/compiler/asloptions.c -@@ -234,6 +234,7 @@ AslCommandLine ( - if (AslGbl_DoSignon) - { - printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); -+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); - if (AslGbl_IgnoreErrors) - { - printf ("Ignoring all errors, forcing AML file generation\n\n"); -@@ -866,6 +867,7 @@ AslDoOptions ( - case '^': - - printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); -+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); - exit (0); - - case 'a': -@@ -879,6 +881,7 @@ AslDoOptions ( - - printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); - printf (ACPI_COMMON_BUILD_TIME); -+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); - exit (0); - - case 'e': -- cgit v1.2.3