]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/powerpc/cpu/ppc4xx/config.mk
kbuild: rename OBJTREE to objtree
[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
de04d64e 8PLATFORM_CPPFLAGS += -DCONFIG_4xx -mstring -msoft-float
4f163801 9
5ee828ca 10cfg=$(shell grep configs $(objtree)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
4379ac61 11is440:=$(shell grep CONFIG_440 $(srctree)/include/$(cfg))
efa35cf1
GB
12
13ifneq (,$(findstring CONFIG_440,$(is440)))
14PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
15else
16PLATFORM_CPPFLAGS += -Wa,-m405 -mcpu=405
17endif