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>
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to