]>
Commit | Line | Data |
---|---|---|
4f163801 | 1 | # |
fa11dbe5 | 2 | # (C) Copyright 2000-2010 |
4f163801 WD |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
4 | # | |
1a459660 | 5 | # SPDX-License-Identifier: GPL-2.0+ |
4f163801 WD |
6 | # |
7 | ||
de04d64e | 8 | PLATFORM_CPPFLAGS += -DCONFIG_4xx -mstring -msoft-float |
4f163801 | 9 | |
5ee828ca | 10 | cfg=$(shell grep configs $(objtree)/include/config.h | sed 's/.*<\(configs.*\)>/\1/') |
4379ac61 | 11 | is440:=$(shell grep CONFIG_440 $(srctree)/include/$(cfg)) |
efa35cf1 GB |
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 |