aboutsummaryrefslogtreecommitdiff
path: root/util/crossgcc/patches/acpica-unix2-20160318_iasl.patch
blob: 6c73d5a2d2f8310b83a053c6daa9519922a0fe7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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':