git: 82d4e9b248b6 - stable/14 - loader: Add textvidc to build

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 16 Apr 2024 20:13:00 UTC
The branch stable/14 has been updated by imp:

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

commit 82d4e9b248b608f72838e6266b17bc99a459e5d7
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-02-18 06:14:56 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-04-16 19:54:25 +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
    
    (cherry picked from commit e36afddf11eb9f83ee867532a32ef2373434d670)
---
 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