svn commit: r303039 - head/sys/boot/efi/libefi
Emmanuel Vadot
manu at FreeBSD.org
Tue Jul 19 19:00:23 UTC 2016
Author: manu
Date: Tue Jul 19 19:00:22 2016
New Revision: 303039
URL: https://svnweb.freebsd.org/changeset/base/303039
Log:
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
Modified:
head/sys/boot/efi/libefi/Makefile
Modified: head/sys/boot/efi/libefi/Makefile
==============================================================================
--- head/sys/boot/efi/libefi/Makefile Tue Jul 19 18:40:54 2016 (r303038)
+++ head/sys/boot/efi/libefi/Makefile Tue Jul 19 19:00:22 2016 (r303039)
@@ -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>
More information about the svn-src-all
mailing list