xref: /openbmc/u-boot/arch/xtensa/config.mk (revision 18c9b10c)
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
8CROSS_COMPILE ?= xtensa-linux-
9PLATFORM_CPPFLAGS += -D__XTENSA__ -mlongcalls -mforce-no-pic \
10		     -ffunction-sections -fdata-sections
11
12LDFLAGS_FINAL += --gc-sections
13