aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k/cpu/mcf530x/config.mk
blob: aef72d70c50d474db7f390d26eb81f2a7835ac0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#
# (C) Copyright 2014  Angelo Dureghello <angelo@sysam.it>
#
# SPDX-License-Identifier:     GPL-2.0+
#

cfg=$(srctree)/include/configs/$(CONFIG_SYS_CONFIG_NAME:"%"=%).h
is5307:=$(shell grep CONFIG_M5307 $(cfg))

ifneq (,$(findstring CONFIG_M5307,$(is5307)))
PLATFORM_CPPFLAGS += -mcpu=5307
endif