]>
Commit | Line | Data |
---|---|---|
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 |
7 | ifeq ($(CROSS_COMPILE),) |
8 | CROSS_COMPILE := nios2-elf- | |
9 | endif | |
1ea6bcd8 | 10 | |
e09e083f | 11 | CONFIG_STANDALONE_LOAD_ADDR ?= 0x02000000 |
262ae0a6 | 12 | |
90f984e3 | 13 | PLATFORM_CPPFLAGS += -D__NIOS2__ |
0df01fd3 | 14 | PLATFORM_CPPFLAGS += -G0 |
254ab7bd | 15 | |
6dc1eceb | 16 | LDFLAGS_FINAL += --gc-sections |
cb2da50f | 17 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections |