]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/powerpc/cpu/ppc4xx/config.mk
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / powerpc / cpu / ppc4xx / config.mk
CommitLineData
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
33ee4c92 8PLATFORM_RELFLAGS += -meabi
e7670f6c 9PLATFORM_CPPFLAGS += -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float
4f163801 10
807018fb 11cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
495a0dde 12is440:=$(shell grep CONFIG_440 $(TOPDIR)/include/$(cfg))
efa35cf1
GB
13
14ifneq (,$(findstring CONFIG_440,$(is440)))
15PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
16else
17PLATFORM_CPPFLAGS += -Wa,-m405 -mcpu=405
18endif