aboutsummaryrefslogtreecommitdiff
path: root/util/crossgcc/patches/acpica-unix2-20160318_iasl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'util/crossgcc/patches/acpica-unix2-20160318_iasl.patch')
-rw-r--r--util/crossgcc/patches/acpica-unix2-20160318_iasl.patch27
1 files changed, 27 insertions, 0 deletions
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':