* [PATCH] tile: force CONFIG_TILEGX if ARCH != tilepro
[not found] <20150602091210.GV19282@twins.programming.kicks-ass.net>
@ 2015-06-03 14:43 ` Chris Metcalf
0 siblings, 0 replies; only message in thread
From: Chris Metcalf @ 2015-06-03 14:43 UTC (permalink / raw)
To: linux-kernel; +Cc: Chris Metcalf, Fengguang Wu, Jason Low, Peter Zijlstra
This allows configuring with allnoconfig (for tilegx) or allyesconfig
(for tilepro) without creating an unbuildable configuration.
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
---
arch/tile/Kconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig
index bcc7d66976f1..775db82afd3f 100644
--- a/arch/tile/Kconfig
+++ b/arch/tile/Kconfig
@@ -127,8 +127,10 @@ config HVC_TILE
select HVC_IRQ if TILEGX
def_bool y
+# Building with ARCH=tilegx (or ARCH=tile) implies using the
+# 64-bit TILE-Gx toolchain, so force CONFIG_TILEGX on.
config TILEGX
- bool "Building for TILE-Gx (64-bit) processor"
+ def_bool ARCH != "tilepro"
select SPARSE_IRQ
select GENERIC_IRQ_LEGACY_ALLOC_HWIRQ
select HAVE_FUNCTION_TRACER
--
2.1.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-03 14:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20150602091210.GV19282@twins.programming.kicks-ass.net>
2015-06-03 14:43 ` [PATCH] tile: force CONFIG_TILEGX if ARCH != tilepro Chris Metcalf
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®