Browse Source

tile: force CONFIG_TILEGX if ARCH != tilepro

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>
Chris Metcalf 10 years ago
parent
commit
41dd496c8d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      arch/tile/Kconfig

+ 3 - 1
arch/tile/Kconfig

@@ -127,8 +127,10 @@ config HVC_TILE
 	select HVC_IRQ if TILEGX
 	select HVC_IRQ if TILEGX
 	def_bool y
 	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
 config TILEGX
-	bool "Building for TILE-Gx (64-bit) processor"
+	def_bool ARCH != "tilepro"
 	select SPARSE_IRQ
 	select SPARSE_IRQ
 	select GENERIC_IRQ_LEGACY_ALLOC_HWIRQ
 	select GENERIC_IRQ_LEGACY_ALLOC_HWIRQ
 	select HAVE_FUNCTION_TRACER
 	select HAVE_FUNCTION_TRACER