diff options
author | manu <manu@FreeBSD.org> | 2016-07-26 05:52:53 +0000 |
---|---|---|
committer | manu <manu@FreeBSD.org> | 2016-07-26 05:52:53 +0000 |
commit | fab477420776a3080f08726a632aca5eb14eecba (patch) | |
tree | 2b0c25006e6f08612ca6a656384cea529e6484a9 /sys/boot/efi | |
parent | 867fb41d0a96dc2da6fc48b485541786f6f65aeb (diff) | |
download | FreeBSD-src-fab477420776a3080f08726a632aca5eb14eecba.zip FreeBSD-src-fab477420776a3080f08726a632aca5eb14eecba.tar.gz |
MFC: r303039
Do not use TERM_EMU on arm and arm64 as it doesn't behave
well with serial console.
Approved by: re (gjb)
Diffstat (limited to 'sys/boot/efi')
-rw-r--r-- | sys/boot/efi/libefi/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/efi/libefi/Makefile b/sys/boot/efi/libefi/Makefile index cb291f9..9ea2c33 100644 --- a/sys/boot/efi/libefi/Makefile +++ b/sys/boot/efi/libefi/Makefile @@ -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> |