Blame view
arch/nios2/config.mk
372 Bytes
5c952cf02
|
1 2 3 4 5 |
# # (C) Copyright 2004 # Psyent Corporation <www.psyent.com> # Scott McNutt <smcnutt@psyent.com> # |
1a4596601
|
6 |
# SPDX-License-Identifier: GPL-2.0+ |
5c952cf02
|
7 |
# |
1ea6bcd85
|
8 |
CROSS_COMPILE ?= nios2-elf- |
e09e083f7
|
9 |
CONFIG_STANDALONE_LOAD_ADDR ?= 0x02000000 |
262ae0a61
|
10 |
|
5c952cf02
|
11 |
PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__ |
0df01fd3d
|
12 |
PLATFORM_CPPFLAGS += -G0 |
254ab7bd4
|
13 |
|
6dc1eceb9
|
14 |
LDFLAGS_FINAL += --gc-sections |
cb2da50f0
|
15 |
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections |