Collect CPU specific flags into the single place. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Alison Wang <alison.wang@freescale.com> Cc: Angelo Dureghello <angelo@sysam.it>master
parent
4cbd29284d
commit
aa63387a39
@ -1,12 +0,0 @@ |
||||
#
|
||||
# (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
|
||||
#
|
||||
# (C) Copyright 2000-2004
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
cpuflags-$(CONFIG_M52277) := -mcpu=52277 -fPIC
|
||||
|
||||
PLATFORM_CPPFLAGS += $(cpuflags-y)
|
@ -1,12 +0,0 @@ |
||||
#
|
||||
# (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
|
||||
#
|
||||
# (C) Copyright 2000-2004
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
cpuflags-$(CONFIG_M5235) := -mcpu=5235 -fPIC
|
||||
|
||||
PLATFORM_CPPFLAGS += $(cpuflags-y)
|
@ -1,18 +0,0 @@ |
||||
#
|
||||
# (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
|
||||
#
|
||||
# (C) Copyright 2000-2004
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
cpuflags-$(CONFIG_M5208) := -mcpu=5208
|
||||
cpuflags-$(CONFIG_M5249) := -mcpu=5249
|
||||
cpuflags-$(CONFIG_M5253) := -mcpu=5253
|
||||
cpuflags-$(CONFIG_M5271) := -mcpu=5271
|
||||
cpuflags-$(CONFIG_M5272) := -mcpu=5272
|
||||
cpuflags-$(CONFIG_M5275) := -mcpu=5275
|
||||
cpuflags-$(CONFIG_M5282) := -mcpu=5282
|
||||
|
||||
PLATFORM_CPPFLAGS += $(cpuflags-y)
|
@ -1,9 +0,0 @@ |
||||
#
|
||||
# (C) Copyright 2014 Angelo Dureghello <angelo@sysam.it>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
cpuflags-$(CONFIG_M5307) := -mcpu=5307
|
||||
|
||||
PLATFORM_CPPFLAGS += $(cpuflags-y)
|
@ -1,13 +0,0 @@ |
||||
#
|
||||
# (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
|
||||
#
|
||||
# (C) Copyright 2000-2004
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
cpuflags-$(CONFIG_MCF5301x) := -mcpu=53015 -fPIC
|
||||
cpuflags-$(CONFIG_MCF532x) := -mcpu=5329 -fPIC
|
||||
|
||||
PLATFORM_CPPFLAGS += $(cpuflags-y)
|
@ -1,19 +0,0 @@ |
||||
#
|
||||
# (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
|
||||
#
|
||||
# (C) Copyright 2000-2004
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# Copyright 2011-2012 Freescale Semiconductor, Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
cpuflags-$(CONFIG_MCF5441x) := -mcpu=54418 -fPIC
|
||||
cpuflags-$(CONFIG_MCF5445x) := -mcpu=54455 -fPIC
|
||||
|
||||
ifneq (,$(findstring -linux-,$(shell $(CC) --version))) |
||||
ifneq (,$(findstring GOT,$(shell $(LD) --help))) |
||||
PLATFORM_LDFLAGS += --got=single
|
||||
endif |
||||
endif |
@ -1,18 +0,0 @@ |
||||
#
|
||||
# (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
|
||||
#
|
||||
# (C) Copyright 2000-2004
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
cpuflags-$(CONFIG_MCF547x_8x) := -mcpu=5485 -fPIC
|
||||
|
||||
PLATFORM_CPPFLAGS += $(cpuflags-y)
|
||||
|
||||
ifneq (,$(findstring -linux-,$(shell $(CC) --version))) |
||||
ifneq (,$(findstring GOT,$(shell $(LD) --help))) |
||||
PLATFORM_LDFLAGS += --got=single
|
||||
endif |
||||
endif |
Loading…
Reference in new issue