stand: Ugly hack due to default change

So this is a gross hack to fix the 'noclean' build since we changed to
text-only loader. We have to fix it in a better way, but for the moment,
this will fix non-meta no-clean builds. A better hack is to fix this so
we build either vidconsole.c or textvidc.c, but some minor refactoring
and variable renaming is needed.

Fixes:			23dee252da
Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2024-10-28 10:50:29 -06:00
parent 7937bfbc0c
commit 10c429016a
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ extern struct console nullconsole;
extern struct console spinconsole;
struct console *consoles[] = {
#ifdef BIOS_TEXT_ONLY
#ifdef BIOS_TEXT_ONLY /* Note: We need a forced commit for this */
&textvidc,
#else
&vidconsole,

View File

@ -22,7 +22,7 @@
#include <gfx_fb.h>
#endif
#ifdef BIOS_TEXT_ONLY
#ifdef BIOS_TEXT_ONLY /* Note: likely need a forced commits when this changes */
void autoload_font(bool bios);
void