svn commit: r303333 - stable/11/sys/boot/efi/libefi

Emmanuel Vadot manu at FreeBSD.org
Tue Jul 26 05:52:55 UTC 2016


Author: manu
Date: Tue Jul 26 05:52:53 2016
New Revision: 303333
URL: https://svnweb.freebsd.org/changeset/base/303333

Log:
  MFC: r303039
  
  Do not use TERM_EMU on arm and arm64 as it doesn't behave
  well with serial console.
  
  Approved by:	re (gjb)

Modified:
  stable/11/sys/boot/efi/libefi/Makefile

Modified: stable/11/sys/boot/efi/libefi/Makefile
==============================================================================
--- stable/11/sys/boot/efi/libefi/Makefile	Tue Jul 26 05:27:26 2016	(r303332)
+++ stable/11/sys/boot/efi/libefi/Makefile	Tue Jul 26 05:52:53 2016	(r303333)
@@ -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-stable mailing list