TsiChungLiew | fc3ca3b | 2007-08-16 15:05:11 -0500 | [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 | # |
Alison Wang | fdc2fb1 | 2012-10-18 19:25:51 +0000 | [diff] [blame] | 7 | # Copyright 2011-2012 Freescale Semiconductor, Inc. |
| 8 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 9 | # SPDX-License-Identifier: GPL-2.0+ |
TsiChungLiew | fc3ca3b | 2007-08-16 15:05:11 -0500 | [diff] [blame] | 10 | # |
| 11 | |
Masahiro Yamada | b01d864 | 2015-03-27 17:01:09 +0900 | [diff] [blame^] | 12 | cpuflags-$(CONFIG_MCF5441x) := -mcpu=54418 -fPIC |
| 13 | cpuflags-$(CONFIG_MCF5445x) := -mcpu=54455 -fPIC |
TsiChung Liew | dcc2eb33 | 2008-06-18 19:05:23 -0500 | [diff] [blame] | 14 | |
| 15 | ifneq (,$(findstring -linux-,$(shell $(CC) --version))) |
| 16 | ifneq (,$(findstring GOT,$(shell $(LD) --help))) |
| 17 | PLATFORM_LDFLAGS += --got=single |
| 18 | endif |
| 19 | endif |