Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | ef3386f | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2004 |
| 4 | # Psyent Corporation <www.psyent.com> |
| 5 | # Scott McNutt <smcnutt@psyent.com> |
wdenk | ef3386f | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 6 | |
Masahiro Yamada | 4869aee | 2014-07-30 14:08:23 +0900 | [diff] [blame] | 7 | PLATFORM_CPPFLAGS += -D__NIOS2__ |
Thomas Chou | 8fa3858 | 2010-05-21 11:08:03 +0800 | [diff] [blame] | 8 | PLATFORM_CPPFLAGS += -G0 |
Scott McNutt | 12a8a65 | 2010-04-16 16:12:39 -0400 | [diff] [blame] | 9 | |
Haiying Wang | 3935873 | 2011-02-22 16:38:05 -0500 | [diff] [blame] | 10 | LDFLAGS_FINAL += --gc-sections |
Thomas Chou | 3b5b6ac | 2010-05-28 12:08:10 +0800 | [diff] [blame] | 11 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections |