blob: 7dd8d8a741fb15b70ba8bb8fb8a55f382994ac9c [file] [log] [blame]
Chris Zankelc978b522016-08-10 18:36:44 +03001#
2# (C) Copyright 2007 - 2013 Tensilica, Inc.
3# (C) Copyright 2014 - 2016 Cadence Design Systems Inc.
4#
5# SPDX-License-Identifier: GPL-2.0+
6#
7
8CROSS_COMPILE ?= xtensa-linux-
9PLATFORM_CPPFLAGS += -D__XTENSA__ -mlongcalls -mforce-no-pic \
10 -ffunction-sections -fdata-sections
11
12LDFLAGS_FINAL += --gc-sections