]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/nios2/config.mk
Merge tag 'u-boot-stm32-20190412' of https://github.com/patrickdelaunay/u-boot
[thirdparty/u-boot.git] / arch / nios2 / config.mk
CommitLineData
83d290c5 1# SPDX-License-Identifier: GPL-2.0+
5c952cf0
WD
2#
3# (C) Copyright 2004
4# Psyent Corporation <www.psyent.com>
5# Scott McNutt <smcnutt@psyent.com>
5c952cf0 6
9b6e2c36
MY
7ifeq ($(CROSS_COMPILE),)
8CROSS_COMPILE := nios2-elf-
9endif
1ea6bcd8 10
e09e083f 11CONFIG_STANDALONE_LOAD_ADDR ?= 0x02000000
262ae0a6 12
90f984e3 13PLATFORM_CPPFLAGS += -D__NIOS2__
0df01fd3 14PLATFORM_CPPFLAGS += -G0
254ab7bd 15
6dc1eceb 16LDFLAGS_FINAL += --gc-sections
cb2da50f 17PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections