]> Git Repo - linux.git/commitdiff
tile: default to tilegx_defconfig for ARCH=tile
authorChris Metcalf <[email protected]>
Sun, 20 May 2012 19:15:34 +0000 (15:15 -0400)
committerChris Metcalf <[email protected]>
Fri, 25 May 2012 19:02:43 +0000 (15:02 -0400)
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 <[email protected]>
Signed-off-by: Chris Metcalf <[email protected]>
arch/tile/Makefile

index 9520bc5a4b7f65f9904882185267d797885ab7f5..e20b0a0b64a17cf6cf6e796a57b5cecdbad0e871 100644 (file)
@@ -34,7 +34,12 @@ LIBGCC_PATH     := \
   $(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name)
 
 # Provide the path to use for "make defconfig".
-KBUILD_DEFCONFIG := $(ARCH)_defconfig
+# We default to the newer TILE-Gx architecture if only "tile" is given.
+ifeq ($(ARCH),tile)
+        KBUILD_DEFCONFIG := tilegx_defconfig
+else
+        KBUILD_DEFCONFIG := $(ARCH)_defconfig
+endif
 
 # Used as a file extension when useful, e.g. head_$(BITS).o
 # Not needed for (e.g.) "$(CC) -m32" since the compiler automatically
This page took 0.061597 seconds and 4 git commands to generate.