cpu/ppc4xx/config.mk: Make a needlessly deffered expansion immediate.
This will reduce the build time. Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
This commit is contained in:
parent
e682ba399a
commit
495a0dde7f
|
@ -25,7 +25,7 @@ PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing
|
||||||
PLATFORM_CPPFLAGS += -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float
|
PLATFORM_CPPFLAGS += -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float
|
||||||
|
|
||||||
cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
|
cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
|
||||||
is440=$(shell grep CONFIG_440 $(TOPDIR)/include/$(cfg))
|
is440:=$(shell grep CONFIG_440 $(TOPDIR)/include/$(cfg))
|
||||||
|
|
||||||
ifneq (,$(findstring CONFIG_440,$(is440)))
|
ifneq (,$(findstring CONFIG_440,$(is440)))
|
||||||
PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
|
PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
|
||||||
|
|
Loading…
Reference in New Issue