All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] openrisc: prevent VGA console, fix builds
@ 2016-11-20 23:40 Randy Dunlap
  2016-11-30 22:50 ` Stafford Horne
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2016-11-20 23:40 UTC (permalink / raw)
  To: LKML; +Cc: kbuild test robot, Chen Gang, Jonas Bonn

From: Randy Dunlap <rdunlap@infradead.org>

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 <rdunlap@infradead.org>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Chen Gang <gang.chen@asianux.com>
Cc: Jonas Bonn <jonas@southpole.se>
---
 drivers/video/console/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Not tested. Can the robot please build-test this patch? Thanks.

--- lnx-49-rc5.orig/drivers/video/console/Kconfig
+++ lnx-49-rc5/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 && !OPENRISC
 	default y
 	help
 	  Saying Y here will allow you to use Linux in text mode through a

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] openrisc: prevent VGA console, fix builds
  2016-11-20 23:40 [PATCH] openrisc: prevent VGA console, fix builds Randy Dunlap
@ 2016-11-30 22:50 ` Stafford Horne
  0 siblings, 0 replies; 2+ messages in thread
From: Stafford Horne @ 2016-11-30 22:50 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: LKML, kbuild test robot, Chen Gang, Jonas Bonn



On Sun, 20 Nov 2016, Randy Dunlap wrote:

> From: Randy Dunlap <rdunlap@infradead.org>
>
> 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 <rdunlap@infradead.org>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Cc: Chen Gang <gang.chen@asianux.com>
> Cc: Jonas Bonn <jonas@southpole.se>
> ---
> drivers/video/console/Kconfig |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Not tested. Can the robot please build-test this patch? Thanks.
>
> --- lnx-49-rc5.orig/drivers/video/console/Kconfig
> +++ lnx-49-rc5/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 && !OPENRISC
> 	default y
> 	help
> 	  Saying Y here will allow you to use Linux in text mode through a
>

Hello,

I have pulled this.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-30 22:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-20 23:40 [PATCH] openrisc: prevent VGA console, fix builds Randy Dunlap
2016-11-30 22:50 ` Stafford Horne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.