blob: 44260b1431cb8c865a99571875b90c370b3317cf [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenk5c952cf2004-10-10 21:27:30 +00002#
3# (C) Copyright 2004
4# Psyent Corporation <www.psyent.com>
5# Scott McNutt <smcnutt@psyent.com>
wdenk5c952cf2004-10-10 21:27:30 +00006
Thomas Choue09e0832011-04-17 10:52:46 +08007CONFIG_STANDALONE_LOAD_ADDR ?= 0x02000000
Mike Frysinger262ae0a2009-09-03 23:12:47 -04008
Masahiro Yamada90f984e2014-07-30 14:08:23 +09009PLATFORM_CPPFLAGS += -D__NIOS2__
Thomas Chou0df01fd2010-05-21 11:08:03 +080010PLATFORM_CPPFLAGS += -G0
Scott McNutt254ab7b2010-04-16 16:12:39 -040011
Haiying Wang6dc1eceb2011-02-22 16:38:05 -050012LDFLAGS_FINAL += --gc-sections
Thomas Choucb2da502010-05-28 12:08:10 +080013PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections