Commit 41dd496c authored by Chris Metcalf's avatar Chris Metcalf

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: default avatarPeter Zijlstra <peterz@infradead.org>
Signed-off-by: default avatarChris Metcalf <cmetcalf@ezchip.com>
parent 47ad7b9b
...@@ -127,8 +127,10 @@ config HVC_TILE ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment