2 # (C) Copyright 2014 Angelo Dureghello <angelo@sysam.it>
4 # SPDX-License-Identifier: GPL-2.0+
7 cfg=$(srctree)/include/configs/$(CONFIG_SYS_CONFIG_NAME:"%"=%).h
8 is5307:=$(shell grep CONFIG_M5307 $(cfg))
10 ifneq (,$(findstring CONFIG_M5307,$(is5307)))
11 PLATFORM_CPPFLAGS += -mcpu=5307