From ddda1a9c2f76e24c925075d4bd224e99d5dc5352 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Tue, 19 Jul 2016 19:00:22 +0000 Subject: [PATCH] Do not use TERM_EMU on arm and arm64 as it doesn't behave well with serial console. Reviewed by: andrew, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6783 --- sys/boot/efi/libefi/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/boot/efi/libefi/Makefile b/sys/boot/efi/libefi/Makefile index cb291f9508f..9ea2c333336 100644 --- a/sys/boot/efi/libefi/Makefile +++ b/sys/boot/efi/libefi/Makefile @@ -35,6 +35,10 @@ CFLAGS+= -I${.CURDIR}/../../common # Handle FreeBSD specific %b and %D printf format specifiers CFLAGS+= ${FORMAT_EXTENSIONS} + +# Do not use TERM_EMU on arm and arm64 as it doesn't behave well with serial console +.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "aarch64" CFLAGS+= -DTERM_EMU +.endif .include