blob: b18b9b78ab6d73cc92bf1f500c3142fb79295d88 [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
Masahiro Yamada90f984e2014-07-30 14:08:23 +09007PLATFORM_CPPFLAGS += -D__NIOS2__
Thomas Chou0df01fd2010-05-21 11:08:03 +08008PLATFORM_CPPFLAGS += -G0
Scott McNutt254ab7b2010-04-16 16:12:39 -04009
Haiying Wang6dc1eceb2011-02-22 16:38:05 -050010LDFLAGS_FINAL += --gc-sections
Thomas Choucb2da502010-05-28 12:08:10 +080011PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections