summaryrefslogtreecommitdiffstats
path: root/include/acpi/platform/acenv.h
diff options
context:
space:
mode:
authorErik Kaneda <erik.kaneda@intel.com>2019-12-17 20:35:21 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-12-19 23:04:21 +0100
commit69e86e59ad2a2518704a31c35530e6e99963c358 (patch)
tree0d2644fd31ab644b1529031ca0d228c88fb613aa /include/acpi/platform/acenv.h
parentACPICA: Disassembler: create buffer fields in ACPI_PARSE_LOAD_PASS1 (diff)
downloadlinux-69e86e59ad2a2518704a31c35530e6e99963c358.tar.xz
linux-69e86e59ad2a2518704a31c35530e6e99963c358.zip
ACPICA: acpisrc: add unix line ending support for non-windows build
ACPICA commit 48ef9f7456f0a73d1d6023ea8e79442cdcff757f Link: https://github.com/acpica/acpica/commit/48ef9f74 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Erik Kaneda <erik.kaneda@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/platform/acenv.h')
-rw-r--r--include/acpi/platform/acenv.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h
index 35ab3f87cc29..94e89ad478f5 100644
--- a/include/acpi/platform/acenv.h
+++ b/include/acpi/platform/acenv.h
@@ -128,6 +128,17 @@
#endif
+/*
+ * acpisrc CR\LF support
+ * Unix file line endings do not include the carriage return.
+ * If the acpisrc utility is being built using a microsoft compiler, it means
+ * that it will be running on a windows machine which means that the output is
+ * expected to have CR/LF newlines. If the acpisrc utility is built with
+ * anything else, it will likely run on a system with LF newlines. This flag
+ * tells the acpisrc utility that newlines will be in the LF format.
+ */
+#define ACPI_SRC_OS_LF_ONLY 0
+
/*! [Begin] no source code translation */
/******************************************************************************