Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Chris Zankel | 1387dab | 2016-08-10 18:36:44 +0300 | [diff] [blame] | 2 | # |
3 | # (C) Copyright 2007 - 2013 Tensilica, Inc. | ||||
4 | # (C) Copyright 2014 - 2016 Cadence Design Systems Inc. | ||||
Chris Zankel | 1387dab | 2016-08-10 18:36:44 +0300 | [diff] [blame] | 5 | |
6 | CROSS_COMPILE ?= xtensa-linux- | ||||
7 | PLATFORM_CPPFLAGS += -D__XTENSA__ -mlongcalls -mforce-no-pic \ | ||||
8 | -ffunction-sections -fdata-sections | ||||
9 | |||||
10 | LDFLAGS_FINAL += --gc-sections |