summaryrefslogtreecommitdiff
path: root/arch/xtensa/config.mk
blob: ec37107862903c83ad944cb92ac5bc021ea8f57d (plain)
1
2
3
4
5
6
7
8
9
10
# SPDX-License-Identifier: GPL-2.0+
#
# (C) Copyright 2007 - 2013 Tensilica, Inc.
# (C) Copyright 2014 - 2016 Cadence Design Systems Inc.

CROSS_COMPILE ?= xtensa-linux-
PLATFORM_CPPFLAGS += -D__XTENSA__ -mlongcalls -mforce-no-pic \
		     -ffunction-sections -fdata-sections

LDFLAGS_FINAL += --gc-sections