]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/powerpc/cpu/ppc4xx/config.mk
Exynos: Clock: Cleanup soc_get_periph_rate
[people/ms/u-boot.git] / arch / powerpc / cpu / ppc4xx / config.mk
1 #
2 # (C) Copyright 2000-2010
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier: GPL-2.0+
6 #
7
8 PLATFORM_CPPFLAGS += -mstring -msoft-float
9
10 cfg=$(srctree)/include/configs/$(CONFIG_SYS_CONFIG_NAME:"%"=%).h
11 is440:=$(shell grep CONFIG_440 $(cfg))
12
13 ifneq (,$(findstring CONFIG_440,$(is440)))
14 PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
15 else
16 PLATFORM_CPPFLAGS += -Wa,-m405 -mcpu=405
17 endif