1*c978b524SChris Zankel# 2*c978b524SChris Zankel# (C) Copyright 2007 - 2013 Tensilica, Inc. 3*c978b524SChris Zankel# (C) Copyright 2014 - 2016 Cadence Design Systems Inc. 4*c978b524SChris Zankel# 5*c978b524SChris Zankel# SPDX-License-Identifier: GPL-2.0+ 6*c978b524SChris Zankel# 7*c978b524SChris Zankel 8*c978b524SChris ZankelCROSS_COMPILE ?= xtensa-linux- 9*c978b524SChris ZankelPLATFORM_CPPFLAGS += -D__XTENSA__ -mlongcalls -mforce-no-pic \ 10*c978b524SChris Zankel -ffunction-sections -fdata-sections 11*c978b524SChris Zankel 12*c978b524SChris ZankelLDFLAGS_FINAL += --gc-sections 13