]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/m68k/cpu/mcf532x/config.mk
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / m68k / cpu / mcf532x / config.mk
CommitLineData
8e585f02
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+
8e585f02
TL
8#
9
10PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
f9d877a6
TL
11
12cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
13is5301x:=$(shell grep CONFIG_MCF5301x $(TOPDIR)/include/$(cfg))
14is532x:=$(shell grep CONFIG_MCF532x $(TOPDIR)/include/$(cfg))
15
f9d877a6
TL
16ifneq (,$(findstring CONFIG_MCF5301x,$(is5301x)))
17PLATFORM_CPPFLAGS += -mcpu=53015 -fPIC
18endif
19ifneq (,$(findstring CONFIG_MCF532x,$(is532x)))
d9240a5f 20PLATFORM_CPPFLAGS += -mcpu=5329 -fPIC
f9d877a6 21endif