aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config/cloud/console.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/cloud/console.h b/src/config/cloud/console.h
index dae18e556..83318dd30 100644
--- a/src/config/cloud/console.h
+++ b/src/config/cloud/console.h
@@ -18,8 +18,13 @@
* Note that the serial port output from an AWS EC2 virtual machine is
* generally available (as the "System Log") only after the instance
* has been stopped.
+ *
+ * Enable only for non-EFI builds, on the assumption that the standard
+ * EFI firmware is likely to already be logging to the serial port.
*/
+#ifndef PLATFORM_efi
#define CONSOLE_SERIAL
+#endif
/* Log to partition on local disk
*