Skip to content

Commit 7c7808c

Browse files
rddunlapstffrdhrn
authored andcommitted
openrisc: prevent VGA console, fix builds
OpenRISC does not support VGA console, so prevent that kconfig symbol from being enabled for OpenRISC, thus fixing these build errors: drivers/built-in.o: In function `vgacon_save_screen': vgacon.c:(.text+0x20e0): undefined reference to `screen_info' vgacon.c:(.text+0x20e8): undefined reference to `screen_info' drivers/built-in.o: In function `vgacon_init': vgacon.c:(.text+0x284c): undefined reference to `screen_info' vgacon.c:(.text+0x2850): undefined reference to `screen_info' drivers/built-in.o: In function `vgacon_startup': vgacon.c:(.text+0x28d8): undefined reference to `screen_info' drivers/built-in.o:vgacon.c:(.text+0x28f0): more undefined references to `screen_info' follow Signed-off-by: Randy Dunlap <[email protected]> Reported-by: kbuild test robot <[email protected]> Cc: Chen Gang <[email protected]> Cc: Jonas Bonn <[email protected]> Signed-off-by: Stafford Horne <[email protected]>
1 parent cdb7544 commit 7c7808c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/console/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config VGA_CONSOLE
99
depends on !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && \
1010
!SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \
1111
(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
12-
!ARM64 && !ARC && !MICROBLAZE
12+
!ARM64 && !ARC && !MICROBLAZE && !OPENRISC
1313
default y
1414
help
1515
Saying Y here will allow you to use Linux in text mode through a

0 commit comments

Comments
 (0)