]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/nios2/config.mk
Merge branch 'master' of git://git.denx.de/u-boot-nds32
[karo-tx-uboot.git] / arch / nios2 / config.mk
1 #
2 # (C) Copyright 2004
3 # Psyent Corporation <www.psyent.com>
4 # Scott McNutt <smcnutt@psyent.com>
5 #
6 # SPDX-License-Identifier:      GPL-2.0+
7 #
8
9 CROSS_COMPILE ?= nios2-elf-
10
11 CONFIG_STANDALONE_LOAD_ADDR ?= 0x02000000
12
13 PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__
14 PLATFORM_CPPFLAGS += -G0
15
16 LDFLAGS_FINAL += --gc-sections
17 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections