diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-05-01 10:16:49 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-05-01 10:16:49 +0200 |
| commit | 9ff0dffb026eae3b80e3e0b8bbb941e3e3b8b01f (patch) | |
| tree | cc146d4af9c6e48968af7ea74294fc3905edd8a3 /libs/acpi/cmake/Scripts/IaslCompile.cmake | |
| parent | bea3a1c32c0a034b201be2c30a69a5f8cdf81896 (diff) | |
| download | kernel-9ff0dffb026eae3b80e3e0b8bbb941e3e3b8b01f.tar.xz kernel-9ff0dffb026eae3b80e3e0b8bbb941e3e3b8b01f.zip | |
acpi: silence IASL compiler output
Diffstat (limited to 'libs/acpi/cmake/Scripts/IaslCompile.cmake')
| -rw-r--r-- | libs/acpi/cmake/Scripts/IaslCompile.cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/acpi/cmake/Scripts/IaslCompile.cmake b/libs/acpi/cmake/Scripts/IaslCompile.cmake new file mode 100644 index 0000000..ff73b34 --- /dev/null +++ b/libs/acpi/cmake/Scripts/IaslCompile.cmake @@ -0,0 +1,16 @@ +execute_process( + COMMAND + "${IASL_EXE}" + "-vs" + "-p" + "${IASL_OUTPUT}" + "${IASL_INPUT}" + OUTPUT_VARIABLE IASL_OUT + ERROR_VARIABLE IASL_ERR + RESULT_VARIABLE IASL_RES +) + +if(NOT IASL_RES EQUAL 0) + message(STATUS "${IASL_OUT}") + message(FATAL_ERROR "${IASL_ERR}") +endif() |
