]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/m68k/cpu/mcf547x_8x/config.mk
m68k: mcf547x_8x: move CPU type to Kconfig and refactor config.mk
[people/ms/u-boot.git] / arch / m68k / cpu / mcf547x_8x / config.mk
CommitLineData
570c0186
TL
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#
1a459660 7# SPDX-License-Identifier: GPL-2.0+
570c0186
TL
8#
9
4cbd2928
MY
10cpuflags-$(CONFIG_MCF547x_8x) := -mcpu=5485 -fPIC
11
12PLATFORM_CPPFLAGS += $(cpuflags-y)
8371dc20
TL
13
14ifneq (,$(findstring -linux-,$(shell $(CC) --version)))
15ifneq (,$(findstring GOT,$(shell $(LD) --help)))
16PLATFORM_LDFLAGS += --got=single
17endif
18endif