summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/libefi
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2014-09-12 17:32:28 +0000
committerambrisko <ambrisko@FreeBSD.org>2014-09-12 17:32:28 +0000
commitb1ae8069caa60cfb78f593f7e2dc4c1a85f6f4ba (patch)
tree235655b8f155b9922efb3bc45b4a4d2f54f3bbfe /sys/boot/efi/libefi
parent84922f7368eba11454ec1ab6c6b52cbde318f600 (diff)
downloadFreeBSD-src-b1ae8069caa60cfb78f593f7e2dc4c1a85f6f4ba.zip
FreeBSD-src-b1ae8069caa60cfb78f593f7e2dc4c1a85f6f4ba.tar.gz
Add support for serial and null console to UEFI boot loader.
Diffstat (limited to 'sys/boot/efi/libefi')
-rw-r--r--sys/boot/efi/libefi/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/efi/libefi/Makefile b/sys/boot/efi/libefi/Makefile
index 60cb43f..3edeb22 100644
--- a/sys/boot/efi/libefi/Makefile
+++ b/sys/boot/efi/libefi/Makefile
@@ -5,6 +5,8 @@ INTERNALLIB=
SRCS= delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
libefi.c time.c
+.PATH: ${.CURDIR}/../../i386/libi386
+SRCS+= nullconsole.c comconsole.c
.if ${MACHINE_ARCH} == "amd64"
CFLAGS+= -fPIC
@@ -16,6 +18,8 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
# Pick up the bootstrap header for some interface items
CFLAGS+= -I${.CURDIR}/../../common
+CFLAGS+= -DNO_PCI
+
# Suppress warning from clang for FreeBSD %b and %D formats
CFLAGS+= -fformat-extensions
OpenPOWER on IntegriCloud