From: Chris Metcalf Date: Sun, 20 May 2012 19:15:34 +0000 (-0400) Subject: tile: default to tilegx_defconfig for ARCH=tile X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1fcb78e9da714d96f65edd37b29dae3b1f7df508;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Chris Metcalf --- 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 := \ $(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