blob: 55adb83af24c3d9a65c4f8bac0e7f80d4df25a15 [file] [log] [blame]
Elyes HAOUAS274c3fa2020-10-02 08:23:01 +02001diff --git a/source/compiler/asloptions.c b/source/compiler/asloptions.c
2index 4bf9465ba..14c61a122 100644
3--- a/source/compiler/asloptions.c
4+++ b/source/compiler/asloptions.c
5@@ -234,6 +234,7 @@ AslCommandLine (
6 if (AslGbl_DoSignon)
Stefan Reinauerd1584fb2018-10-05 16:05:48 -07007 {
8 printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
Elyes HAOUAS71a743e2018-12-19 16:51:04 +01009+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
Stefan Reinauerd1584fb2018-10-05 16:05:48 -070010 if (AslGbl_IgnoreErrors)
11 {
12 printf ("Ignoring all errors, forcing AML file generation\n\n");
Elyes HAOUAS274c3fa2020-10-02 08:23:01 +020013@@ -866,6 +867,7 @@ AslDoOptions (
Stefan Reinauerd1584fb2018-10-05 16:05:48 -070014 case '^':
Elyes HAOUAS274c3fa2020-10-02 08:23:01 +020015
Stefan Reinauerd1584fb2018-10-05 16:05:48 -070016 printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
17+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
18 exit (0);
Elyes HAOUAS274c3fa2020-10-02 08:23:01 +020019
Stefan Reinauerd1584fb2018-10-05 16:05:48 -070020 case 'a':
Elyes HAOUAS274c3fa2020-10-02 08:23:01 +020021@@ -879,6 +881,7 @@ AslDoOptions (
22
Stefan Reinauerd1584fb2018-10-05 16:05:48 -070023 printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
24 printf (ACPI_COMMON_BUILD_TIME);
25+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION);
26 exit (0);
Elyes HAOUAS274c3fa2020-10-02 08:23:01 +020027
Stefan Reinauerd1584fb2018-10-05 16:05:48 -070028 case 'e':