xref: /openbmc/u-boot/arch/xtensa/config.mk (revision 12308b12)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2007 - 2013 Tensilica, Inc.
4# (C) Copyright 2014 - 2016 Cadence Design Systems Inc.
5
6CROSS_COMPILE ?= xtensa-linux-
7PLATFORM_CPPFLAGS += -D__XTENSA__ -mlongcalls -mforce-no-pic \
8		     -ffunction-sections -fdata-sections
9
10LDFLAGS_FINAL += --gc-sections
11