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:			23dee252daf2
Sponsored by:		Netflix

(cherry picked from commit 10c429016a3c5adf2e04cfd1ac97eb24c0e7074c)
This commit is contained in:
Warner Losh 2024-10-28 10:50:29 -06:00
parent 4d3b05a853
commit 1a37c4e533
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