2 # (C) Copyright 2000-2010
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 PLATFORM_CPPFLAGS += -DCONFIG_4xx -mstring -msoft-float
10 cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
11 is440:=$(shell grep CONFIG_440 $(TOPDIR)/include/$(cfg))
13 ifneq (,$(findstring CONFIG_440,$(is440)))
14 PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
16 PLATFORM_CPPFLAGS += -Wa,-m405 -mcpu=405