git: e36afddf11eb - main - loader: Add textvidc to build

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sun, 18 Feb 2024 06:30:34 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=e36afddf11eb9f83ee867532a32ef2373434d670

commit e36afddf11eb9f83ee867532a32ef2373434d670
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-02-18 06:14:56 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-02-18 06:29:07 +0000

    loader: Add textvidc to build
    
    Add textvidc to the build. And use -DTERM_EMU to build it.
    
    Sponsored by:           Netflix
    Differential Revision:  https://reviews.freebsd.org/D43915
---
 stand/i386/libi386/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/stand/i386/libi386/Makefile b/stand/i386/libi386/Makefile
index ac12d67e3475..8608c369a118 100644
--- a/stand/i386/libi386/Makefile
+++ b/stand/i386/libi386/Makefile
@@ -28,6 +28,7 @@ SRCS+=	pxetramp.S
 SRCS+=	relocater_tramp.S
 SRCS+=	spinconsole.c
 SRCS+=	time.c
+SRCS+=	textvidc.c
 SRCS+=	vbe.c
 SRCS+=	vidconsole.c
 
@@ -56,6 +57,8 @@ CFLAGS.teken.c+= -I${SRCTOP}/sys/teken
 CFLAGS.bootinfo.c+= -I${SRCTOP}/sys/teken -I${SRCTOP}/contrib/pnglite
 CFLAGS.vbe.c+= -I${SRCTOP}/sys/teken -I${SRCTOP}/contrib/pnglite
 
+CFLAGS.textvidc.c+= -DTERM_EMU
+
 CFLAGS+=	-I${LDRSRC} -I${BOOTSRC}/i386/common \
 		-I${SYSDIR}/contrib/dev/acpica/include