From 6738d3210aabe3016a1b03cd98a7fc479c229197 Mon Sep 17 00:00:00 2001
From: Chris Metcalf <cmetcalf@tilera.com>
Date: Wed, 25 May 2011 15:24:00 -0400
Subject: [PATCH] arch/tile: prefer "tilepro" as the name of the 32-bit
 architecture

With this change, you can (and should) build with ARCH=tilepro for the
current 32-bit chips.  Building with ARCH=tile continues to work, but
we've renamed the defconfig file to tilepro_defconfig for consistency.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
---
 Makefile                                                | 3 +++
 arch/tile/configs/{tile_defconfig => tilepro_defconfig} | 0
 2 files changed, 3 insertions(+)
 rename arch/tile/configs/{tile_defconfig => tilepro_defconfig} (100%)

diff --git a/Makefile b/Makefile
index 3dcca2899765..cadf4cd595d7 100644
--- a/Makefile
+++ b/Makefile
@@ -221,6 +221,9 @@ ifeq ($(ARCH),sh64)
 endif
 
 # Additional ARCH settings for tile
+ifeq ($(ARCH),tilepro)
+       SRCARCH := tile
+endif
 ifeq ($(ARCH),tilegx)
        SRCARCH := tile
 endif
diff --git a/arch/tile/configs/tile_defconfig b/arch/tile/configs/tilepro_defconfig
similarity index 100%
rename from arch/tile/configs/tile_defconfig
rename to arch/tile/configs/tilepro_defconfig
-- 
GitLab