]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/nios2/config.mk
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / nios2 / config.mk
CommitLineData
5c952cf0
WD
1#
2# (C) Copyright 2004
3# Psyent Corporation <www.psyent.com>
4# Scott McNutt <smcnutt@psyent.com>
5#
1a459660 6# SPDX-License-Identifier: GPL-2.0+
5c952cf0
WD
7#
8
1ea6bcd8
MF
9CROSS_COMPILE ?= nios2-elf-
10
e09e083f 11CONFIG_STANDALONE_LOAD_ADDR ?= 0x02000000
262ae0a6 12
5c952cf0 13PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__
0df01fd3 14PLATFORM_CPPFLAGS += -G0
254ab7bd 15
6dc1eceb 16LDFLAGS_FINAL += --gc-sections
cb2da50f 17PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections