The allyesconfig/allmodconfig build currently fails on nios2 with the
following linker error:
drivers/built-in.o: In function `vgacon_switch':
vgacon.c:(.text+0x34750): undefined reference to `screen_info'
vgacon.c:(.text+0x34758): undefined reference to `screen_info'
drivers/built-in.o: In function `vgacon_resize':
vgacon.c:(.text+0x349b4): undefined reference to `screen_info'
vgacon.c:(.text+0x349b8): undefined reference to `screen_info'
drivers/built-in.o: In function `vgacon_save_screen':
vgacon.c:(.text+0x34ae8): undefined reference to `screen_info'
drivers/built-in.o:vgacon.c:(.text+0x34aec): more undefined references to `screen_info' follow
Since the nios2 architecture doesn't define the screen_info symbol.
Fix it by disabling VGA console for nios2.
Cc: Ley Foon Tan <redacted>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
drivers/video/console/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig
index 38da6e299149..f63a022689b5 100644
--- a/drivers/video/console/Kconfig
+++ b/drivers/video/console/Kconfig
@@ -9,7 +9,7 @@ config VGA_CONSOLE
depends on !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && \
!SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \
(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
- !ARM64 && !ARC && !MICROBLAZE
+ !ARM64 && !ARC && !MICROBLAZE && !NIOS2
default y
help
Saying Y here will allow you to use Linux in text mode through a
--
2.11.0.rc0.7.gbe5a750