aboutsummaryrefslogtreecommitdiff
path: root/util/crossgcc/patches
diff options
context:
space:
mode:
Diffstat (limited to 'util/crossgcc/patches')
-rw-r--r--util/crossgcc/patches/acpica-unix2-20150619_iasl.patch12
-rw-r--r--util/crossgcc/patches/acpica-unix2-20160318_iasl.patch27
2 files changed, 27 insertions, 12 deletions
diff --git a/util/crossgcc/patches/acpica-unix2-20150619_iasl.patch b/util/crossgcc/patches/acpica-unix2-20150619_iasl.patch
deleted file mode 100644
index 2c754c98cf..0000000000
--- a/util/crossgcc/patches/acpica-unix2-20150619_iasl.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN acpica-unix-20150619/source/compiler/asloptions.c acpica-unix-20150619/source/compiler/asloptions.c
---- acpica-unix2-20150619/source/compiler/asloptions.c 2015-06-19 08:56:19.000000000 -0600
-+++ acpica-unix2-20150619/source/compiler/asloptions.c 2015-12-08 10:44:58.816669240 -0700
-@@ -717,6 +717,7 @@
- case '^':
-
- printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
-+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
- exit (0);
-
- case 'a':
-
diff --git a/util/crossgcc/patches/acpica-unix2-20160318_iasl.patch b/util/crossgcc/patches/acpica-unix2-20160318_iasl.patch
new file mode 100644
index 0000000000..6c73d5a2d2
--- /dev/null
+++ b/util/crossgcc/patches/acpica-unix2-20160318_iasl.patch
@@ -0,0 +1,27 @@
+Add coreboot toolchain version string
+--- acpica-unix2-20160318/source/compiler/asloptions.c
++++ acpica-unix2-20160318/source/compiler/asloptions.c
+@@ -169,6 +169,7 @@
+ if (argc < 2)
+ {
+ printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
++ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
+ Usage ();
+ exit (1);
+ }
+@@ -199,6 +200,7 @@
+ if (Gbl_DoSignon)
+ {
+ printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
++ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
+ if (Gbl_IgnoreErrors)
+ {
+ printf ("Ignoring all errors, forcing AML file generation\n\n");
+@@ -743,6 +745,7 @@
+ case '^':
+
+ printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
++ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
+ exit (0);
+
+ case 'a':