From: Arnd Bergmann <arnd@arndb.de>
To: Avi Fishman <avifishman70@gmail.com>, Tomer Maimon <tmaimon77@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
Patrick Venture <venture@google.com>,
Nancy Yuen <yuenn@google.com>,
Brendan Higgins <brendanhiggins@google.com>,
linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency
Date: Wed, 7 Mar 2018 17:24:12 +0100 [thread overview]
Message-ID: <20180307162430.2664523-1-arnd@arndb.de> (raw)
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
next reply other threads:[~2018-03-07 16:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-07 16:24 Arnd Bergmann [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180307162430.2664523-1-arnd@arndb.de \
--to=arnd@arndb.de \
--cc=avifishman70@gmail.com \
--cc=brendanhiggins@google.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=tmaimon77@gmail.com \
--cc=venture@google.com \
--cc=yuenn@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®