]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/m68k/cpu/mcf532x/config.mk
2 # (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
4 # (C) Copyright 2000-2004
5 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7 # SPDX-License-Identifier: GPL-2.0+
10 cfg
=$(shell grep configs
$(objtree
)/include/config.h | sed
's/.*<\(configs.*\)>/\1/')
11 is5301x
:=$(shell grep CONFIG_MCF5301x
$(srctree
)/include/$(cfg
))
12 is532x
:=$(shell grep CONFIG_MCF532x
$(srctree
)/include/$(cfg
))
14 ifneq (,$(findstring CONFIG_MCF5301x
,$(is5301x
)))
15 PLATFORM_CPPFLAGS
+= -mcpu
=53015 -fPIC
17 ifneq (,$(findstring CONFIG_MCF532x
,$(is532x
)))
18 PLATFORM_CPPFLAGS
+= -mcpu
=5329 -fPIC