Skip to contentSkip to conversation

tile: force CONFIG_TILEGX if ARCH != tilepro

PATCH New Chris Metcalf 1 participant 1 message Jun 3, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 tile: force CONFIG_TILEGX if ARCH != tilepro

This allows configuring with allnoconfig (for tilegx) or allyesconfig (for tilepro) without creating an unbuildable configuration.

---
 arch/tile/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/tile/Kconfig +3 -1
index bcc7d66976f1..775db82afd3f 100644
@@ -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
Signature · 1 line
2.1.2