coreboot-kgpe-d16/util/crossgcc/patches/acpica-unix2-20160318_iasl....

28 lines
836 B
Diff

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':