linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency
@ 2018-03-07 16:24 Arnd Bergmann
  2018-03-07 16:24 ` [PATCH 2/2] ARM: npcm: drop extraneous 'select' statements Arnd Bergmann
  2018-03-09  2:08 ` [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency Brendan Higgins
  0 siblings, 2 replies; 14+ messages in thread
From: Arnd Bergmann @ 2018-03-07 16:24 UTC (permalink / raw)
  To: linux-arm-kernel

The top-level CONFIG_ARCH_NPCM symbol is not guarded with a
dependency, and can be selected for builds of traditional
(non-multiplatform) builds as well, where it causes a build
failure:

arch/arm/boot/Makefile:17: arch/arm/mach-npcm//Makefile.boot: No such file or directory

This moves the dependency to avoid that particular condition.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/arm/mach-npcm/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-npcm/Kconfig b/arch/arm/mach-npcm/Kconfig
index 6ff9df2636be..2bc6697c8d97 100644
--- a/arch/arm/mach-npcm/Kconfig
+++ b/arch/arm/mach-npcm/Kconfig
@@ -1,5 +1,5 @@
 menuconfig ARCH_NPCM
-	bool "Nuvoton NPCM Architecture"
+	bool "Nuvoton NPCM Architecture" if ARCH_MULTI_V7
 	select ARCH_REQUIRE_GPIOLIB
 	select USE_OF
 	select PINCTRL
@@ -10,7 +10,7 @@ if ARCH_NPCM
 comment "NPCM7XX CPU type"
 
 config ARCH_NPCM750
-	depends on ARCH_NPCM && ARCH_MULTI_V7
+	depends on ARCH_NPCM
 	bool "Support for NPCM750 BMC CPU (Poleg)"
 	select CACHE_L2X0
 	select CPU_V7
-- 
2.9.0

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

end of thread, other threads:[~2018-03-13 16:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-07 16:24 [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency Arnd Bergmann
2018-03-07 16:24 ` [PATCH 2/2] ARM: npcm: drop extraneous 'select' statements Arnd Bergmann
2018-03-08  2:12   ` Joel Stanley
2018-03-08 10:46     ` Avi Fishman
2018-03-08 10:51       ` Arnd Bergmann
2018-03-12 10:16   ` Tomer Maimon
2018-03-12 11:43     ` Tomer Maimon
2018-03-12 12:43       ` Arnd Bergmann
2018-03-09  2:08 ` [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency Brendan Higgins
2018-03-12 13:28   ` Tomer Maimon
2018-03-12 13:37     ` Arnd Bergmann
2018-03-12 15:15       ` Tomer Maimon
2018-03-13 13:35         ` Tomer Maimon
2018-03-13 16:23           ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).