Makefile (f81483aaeb59da530b286fe5d081e1705eb5c886) Makefile (129ab0d2d9f38b9d43df35235fc66c6740d6928b)
1#
2# This file is subject to the terms and conditions of the GNU General Public
3# License. See the file "COPYING" in the main directory of this archive
4# for more details.
5#
6# Copyright (C) 2001 - 2005 Tensilica Inc.
7# Copyright (C) 2014 Cadence Design Systems Inc.
8#
9# This file is included by the global makefile so that you can add your own
10# architecture-specific flags and dependencies.
11
12# Core configuration.
13# (Use VAR=<xtensa_config> to use another default compiler.)
14
1#
2# This file is subject to the terms and conditions of the GNU General Public
3# License. See the file "COPYING" in the main directory of this archive
4# for more details.
5#
6# Copyright (C) 2001 - 2005 Tensilica Inc.
7# Copyright (C) 2014 Cadence Design Systems Inc.
8#
9# This file is included by the global makefile so that you can add your own
10# architecture-specific flags and dependencies.
11
12# Core configuration.
13# (Use VAR=<xtensa_config> to use another default compiler.)
14
15variant-y := $(patsubst "%",%,$(CONFIG_XTENSA_VARIANT_NAME))
15variant-y := $(CONFIG_XTENSA_VARIANT_NAME)
16
17VARIANT = $(variant-y)
18
19ifneq ($(VARIANT),)
20 ifdef cross_compiling
21 ifndef CROSS_COMPILE
22 CROSS_COMPILE = xtensa_$(VARIANT)-
23 endif

--- 52 unchanged lines hidden ---
16
17VARIANT = $(variant-y)
18
19ifneq ($(VARIANT),)
20 ifdef cross_compiling
21 ifndef CROSS_COMPILE
22 CROSS_COMPILE = xtensa_$(VARIANT)-
23 endif

--- 52 unchanged lines hidden ---