mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/4] cris: Switch cris to drivers/Kconfig
@ 2013-05-17 11:17 Geert Uytterhoeven
  2013-05-17 11:17 ` [PATCH 2/4] console: Disable VGA text console support on cris Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2013-05-17 11:17 UTC (permalink / raw)
  To: Mikael Starvik, Jesper Nilsson
  Cc: linux-cris-kernel, linux-kernel, Geert Uytterhoeven

allmodconfig:

drivers/video/console/fonts.c:71:2: error: #error No fonts configured.

This is caused by cris not using the generic drivers/Kconfig, and thus not
traversing drivers/video/console/Kconfig.
As the build system does traverse drivers/video/console/Makefile, fonts.c
was compiled with an inconsistent configuration.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 arch/cris/Kconfig                  |   32 +-------------------------------
 arch/cris/arch-v32/drivers/Kconfig |    7 -------
 2 files changed, 1 insertions(+), 38 deletions(-)

diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig
index 8769a90..9f3c543 100644
--- a/arch/cris/Kconfig
+++ b/arch/cris/Kconfig
@@ -637,40 +637,10 @@ endchoice
 
 endmenu
 
-source "drivers/base/Kconfig"
-
-# standard linux drivers
-source "drivers/mtd/Kconfig"
-
-source "drivers/parport/Kconfig"
-
-source "drivers/pnp/Kconfig"
-
-source "drivers/block/Kconfig"
-
-source "drivers/ide/Kconfig"
-
-source "drivers/net/Kconfig"
-
-source "drivers/i2c/Kconfig"
-
-source "drivers/rtc/Kconfig"
-
-#
-# input before char - char/joystick depends on it. As does USB.
-#
-source "drivers/input/Kconfig"
-
-source "drivers/char/Kconfig"
+source "drivers/Kconfig"
 
 source "fs/Kconfig"
 
-source "drivers/usb/Kconfig"
-
-source "drivers/uwb/Kconfig"
-
-source "drivers/staging/Kconfig"
-
 source "arch/cris/Kconfig.debug"
 
 source "security/Kconfig"
diff --git a/arch/cris/arch-v32/drivers/Kconfig b/arch/cris/arch-v32/drivers/Kconfig
index c55971a..f64779c 100644
--- a/arch/cris/arch-v32/drivers/Kconfig
+++ b/arch/cris/arch-v32/drivers/Kconfig
@@ -641,8 +641,6 @@ config ETRAX_STREAMCOPROC
 	  This option enables a driver for the stream co-processor
 	  for cryptographic operations.
 
-source drivers/mmc/Kconfig
-
 config ETRAX_MMC_IOP
 	tristate "MMC/SD host driver using IO-processor"
 	depends on ETRAX_ARCH_V32 && MMC
@@ -834,9 +832,4 @@ config ETRAX_SPI_MMC_WP_GPIO_PIN
 	  The pin to use for the SD/MMC write-protect signal for a memory
 	  card.  If defined as " " (space), the card is considered writable.
 
-# Avoid choices causing non-working configs by conditionalizing the inclusion.
-if ETRAX_SPI_MMC
-source drivers/spi/Kconfig
-endif
-
 endif
-- 
1.7.0.4


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

* [PATCH 2/4] console: Disable VGA text console support on cris
  2013-05-17 11:17 [PATCH 1/4] cris: Switch cris to drivers/Kconfig Geert Uytterhoeven
@ 2013-05-17 11:17 ` Geert Uytterhoeven
  2013-05-17 11:17 ` [PATCH 3/4] parport: disable PC-style parallel port " Geert Uytterhoeven
  2013-05-17 11:17 ` [PATCH 4/4] cris: Wire up asm-generic/vga.h Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2013-05-17 11:17 UTC (permalink / raw)
  To: Mikael Starvik, Jesper Nilsson
  Cc: linux-cris-kernel, linux-kernel, Geert Uytterhoeven

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/video/console/Kconfig |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig
index baf27dc..8af6ad3 100644
--- a/drivers/video/console/Kconfig
+++ b/drivers/video/console/Kconfig
@@ -6,7 +6,9 @@ menu "Console display driver support"
 
 config VGA_CONSOLE
 	bool "VGA text console" if EXPERT || !X86
-	depends on !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && !SUPERH && !BLACKFIN && !AVR32 && !MN10300 && (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER)
+	depends on !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && \
+		!SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \
+		(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER)
 	default y
 	help
 	  Saying Y here will allow you to use Linux in text mode through a
-- 
1.7.0.4


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

* [PATCH 3/4] parport: disable PC-style parallel port support on cris
  2013-05-17 11:17 [PATCH 1/4] cris: Switch cris to drivers/Kconfig Geert Uytterhoeven
  2013-05-17 11:17 ` [PATCH 2/4] console: Disable VGA text console support on cris Geert Uytterhoeven
@ 2013-05-17 11:17 ` Geert Uytterhoeven
  2013-05-17 11:17 ` [PATCH 4/4] cris: Wire up asm-generic/vga.h Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2013-05-17 11:17 UTC (permalink / raw)
  To: Mikael Starvik, Jesper Nilsson
  Cc: linux-cris-kernel, linux-kernel, Geert Uytterhoeven, linux-parport

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-parport@lists.infradead.org
---
 drivers/parport/Kconfig |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/parport/Kconfig b/drivers/parport/Kconfig
index 24e12d4..78e2098 100644
--- a/drivers/parport/Kconfig
+++ b/drivers/parport/Kconfig
@@ -36,7 +36,9 @@ if PARPORT
 config PARPORT_PC
 	tristate "PC-style hardware"
 	depends on (!SPARC64 || PCI) && !SPARC32 && !M32R && !FRV && !S390 && \
-		(!M68K || ISA) && !MN10300 && !AVR32 && !BLACKFIN && !XTENSA
+		(!M68K || ISA) && !MN10300 && !AVR32 && !BLACKFIN && \
+		!XTENSA && !CRIS
+
 	---help---
 	  You should say Y here if you have a PC-style parallel port. All
 	  IBM PC compatible computers and some Alphas have PC-style
-- 
1.7.0.4


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

* [PATCH 4/4] cris: Wire up asm-generic/vga.h
  2013-05-17 11:17 [PATCH 1/4] cris: Switch cris to drivers/Kconfig Geert Uytterhoeven
  2013-05-17 11:17 ` [PATCH 2/4] console: Disable VGA text console support on cris Geert Uytterhoeven
  2013-05-17 11:17 ` [PATCH 3/4] parport: disable PC-style parallel port " Geert Uytterhoeven
@ 2013-05-17 11:17 ` Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2013-05-17 11:17 UTC (permalink / raw)
  To: Mikael Starvik, Jesper Nilsson
  Cc: linux-cris-kernel, linux-kernel, Geert Uytterhoeven

When compiling several DRM related files:

include/video/vga.h:22:21: fatal error: asm/vga.h: No such file or directory

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 arch/cris/include/asm/Kbuild |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/cris/include/asm/Kbuild b/arch/cris/include/asm/Kbuild
index 0dd4b88..c832545 100644
--- a/arch/cris/include/asm/Kbuild
+++ b/arch/cris/include/asm/Kbuild
@@ -9,4 +9,5 @@ generic-y += kvm_para.h
 generic-y += linkage.h
 generic-y += module.h
 generic-y += trace_clock.h
+generic-y += vga.h
 generic-y += xor.h
-- 
1.7.0.4


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

end of thread, other threads:[~2013-05-17 11:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-17 11:17 [PATCH 1/4] cris: Switch cris to drivers/Kconfig Geert Uytterhoeven
2013-05-17 11:17 ` [PATCH 2/4] console: Disable VGA text console support on cris Geert Uytterhoeven
2013-05-17 11:17 ` [PATCH 3/4] parport: disable PC-style parallel port " Geert Uytterhoeven
2013-05-17 11:17 ` [PATCH 4/4] cris: Wire up asm-generic/vga.h Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®