Blame view

arch/nios2/config.mk 372 Bytes
5c952cf02   wdenk   Patches by Scott ...
1
2
3
4
5
  #
  # (C) Copyright 2004
  # Psyent Corporation <www.psyent.com>
  # Scott McNutt <smcnutt@psyent.com>
  #
1a4596601   Wolfgang Denk   Add GPL-2.0+ SPDX...
6
  # SPDX-License-Identifier:	GPL-2.0+
5c952cf02   wdenk   Patches by Scott ...
7
  #
1ea6bcd85   Mike Frysinger   push CROSS_COMPIL...
8
  CROSS_COMPILE ?= nios2-elf-
e09e083f7   Thomas Chou   nios2: Make STAND...
9
  CONFIG_STANDALONE_LOAD_ADDR ?= 0x02000000
262ae0a61   Mike Frysinger   push LOAD_ADDR ou...
10

5c952cf02   wdenk   Patches by Scott ...
11
  PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__
0df01fd3d   Thomas Chou   nios2: fix r15 is...
12
  PLATFORM_CPPFLAGS += -G0
254ab7bd4   Scott McNutt   nios2: Move indiv...
13

6dc1eceb9   Haiying Wang   Introduce a new l...
14
  LDFLAGS_FINAL += --gc-sections
cb2da50f0   Thomas Chou   nios2: use gc sec...
15
  PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections