projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[oweals/u-boot.git]
/
arch
/
powerpc
/
cpu
/
ppc4xx
/
config.mk
diff --git
a/arch/powerpc/cpu/ppc4xx/config.mk
b/arch/powerpc/cpu/ppc4xx/config.mk
index 71c2a6c729f5762321746d50c2df87c0783bea44..9cb41bb3b53cb10bb500ee5bbe777ef0ca74725c 100644
(file)
--- a/
arch/powerpc/cpu/ppc4xx/config.mk
+++ b/
arch/powerpc/cpu/ppc4xx/config.mk
@@
-5,12
+5,9
@@
# SPDX-License-Identifier: GPL-2.0+
#
# SPDX-License-Identifier: GPL-2.0+
#
-PLATFORM_CPPFLAGS += -
DCONFIG_4xx -
mstring -msoft-float
+PLATFORM_CPPFLAGS += -mstring -msoft-float
-cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
-is440:=$(shell grep CONFIG_440 $(TOPDIR)/include/$(cfg))
-
-ifneq (,$(findstring CONFIG_440,$(is440)))
+ifneq (,$(CONFIG_440))
PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
else
PLATFORM_CPPFLAGS += -Wa,-m405 -mcpu=405
PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
else
PLATFORM_CPPFLAGS += -Wa,-m405 -mcpu=405