Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2016 05:52:54 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r303333 - stable/11/sys/boot/efi/libefi
Message-ID:  <201607260552.u6Q5qs1e097524@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607260552.u6Q5qs1e097524>