TsiChungLiew | 8999e6b | 2008-01-15 13:37:34 -0600 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de> |
| 3 | # |
| 4 | # (C) Copyright 2000-2004 |
| 5 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 6 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0+ |
TsiChungLiew | 8999e6b | 2008-01-15 13:37:34 -0600 | [diff] [blame] | 8 | # |
| 9 | |
TsiChungLiew | 8999e6b | 2008-01-15 13:37:34 -0600 | [diff] [blame] | 10 | PLATFORM_CPPFLAGS += -mcpu=5485 -fPIC |
TsiChung Liew | dcc2eb33 | 2008-06-18 19:05:23 -0500 | [diff] [blame] | 11 | |
| 12 | ifneq (,$(findstring -linux-,$(shell $(CC) --version))) |
| 13 | ifneq (,$(findstring GOT,$(shell $(LD) --help))) |
| 14 | PLATFORM_LDFLAGS += --got=single |
| 15 | endif |
| 16 | endif |