Chris Zankel | c978b52 | 2016-08-10 18:36:44 +0300 | [diff] [blame] | 1 | # |
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 | |||||
8 | CROSS_COMPILE ?= xtensa-linux- | ||||
9 | PLATFORM_CPPFLAGS += -D__XTENSA__ -mlongcalls -mforce-no-pic \ | ||||
10 | -ffunction-sections -fdata-sections | ||||
11 | |||||
12 | LDFLAGS_FINAL += --gc-sections |