diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-05-20 15:15:34 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-05-25 15:02:43 -0400 |
commit | 1fcb78e9da714d96f65edd37b29dae3b1f7df508 (patch) | |
tree | 54092ba628d25d5230d9253058d78262f0fda300 /arch/tile/Makefile | |
parent | 9f1d62bed7f015d11b9164078b7fea433b474114 (diff) |
tile: default to tilegx_defconfig for ARCH=tile
There is no "ARCH=tile" (just like there is no "ARCH=x86") so we need
to pick a default configuration, either tilepro or tilegx, when users
specify ARCH=tile. We'll use tilegx, since that's our current chip.
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/Makefile')
-rw-r--r-- | arch/tile/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/tile/Makefile b/arch/tile/Makefile index 9520bc5a4b7f..e20b0a0b64a1 100644 --- a/arch/tile/Makefile +++ b/arch/tile/Makefile | |||
@@ -34,7 +34,12 @@ LIBGCC_PATH := \ | |||
34 | $(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name) | 34 | $(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name) |
35 | 35 | ||
36 | # Provide the path to use for "make defconfig". | 36 | # Provide the path to use for "make defconfig". |
37 | KBUILD_DEFCONFIG := $(ARCH)_defconfig | 37 | # We default to the newer TILE-Gx architecture if only "tile" is given. |
38 | ifeq ($(ARCH),tile) | ||
39 | KBUILD_DEFCONFIG := tilegx_defconfig | ||
40 | else | ||
41 | KBUILD_DEFCONFIG := $(ARCH)_defconfig | ||
42 | endif | ||
38 | 43 | ||
39 | # Used as a file extension when useful, e.g. head_$(BITS).o | 44 | # Used as a file extension when useful, e.g. head_$(BITS).o |
40 | # Not needed for (e.g.) "$(CC) -m32" since the compiler automatically | 45 | # Not needed for (e.g.) "$(CC) -m32" since the compiler automatically |