Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / u-boot / arch / m68k / cpu / mcf532x / config.mk
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 #
7 # SPDX-License-Identifier:      GPL-2.0+
8 #
9
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))
13
14 ifneq (,$(findstring CONFIG_MCF5301x,$(is5301x)))
15 PLATFORM_CPPFLAGS += -mcpu=53015 -fPIC
16 endif
17 ifneq (,$(findstring CONFIG_MCF532x,$(is532x)))
18 PLATFORM_CPPFLAGS += -mcpu=5329 -fPIC
19 endif