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
This commit is contained in:
Emmanuel Vadot 2016-07-19 19:00:22 +00:00
parent 881e506b36
commit ddda1a9c2f

View File

@ -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 <bsd.lib.mk>