projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc4xx: Add Mnemonics for AMCC/IBM DDR2 SDRAM Controller
[oweals/u-boot.git]
/
cpu
/
ppc4xx
/
config.mk
diff --git
a/cpu/ppc4xx/config.mk
b/cpu/ppc4xx/config.mk
index e7fc3f636e61d5f6be654e72a21c50ab1af20f2a..baa97a4122ae2e2dfc477ad65ea85478056c8830 100644
(file)
--- a/
cpu/ppc4xx/config.mk
+++ b/
cpu/ppc4xx/config.mk
@@
-22,10
+22,10
@@
#
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing
#
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing
-PLATFORM_CPPFLAGS += -DCONFIG_4xx -ffixed-r2 -
ffixed-r29 -
mstring -msoft-float
+PLATFORM_CPPFLAGS += -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float
-cfg=$(shell grep configs $(
TOPDIR
)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
-is440=$(shell grep CONFIG_440 $(TOPDIR)/include/$(cfg))
+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)))
PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
ifneq (,$(findstring CONFIG_440,$(is440)))
PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440