Skip to contentSkip to conversation

cpu/mcf52x2/config.mk: Make needlessly deffered expansions immediate.

U-Boot-Users Applied Shinya Kuribayashi 2 participants 5 messages Feb 23, 2008

lore
Share & tools
lore
#0 lore raw

This will reduce the build time.

---

 cpu/mcf52x2/config.mk |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
cpu/mcf52x2/config.mk +5 -5
index f97157d..c3899c5 100644
@@ -26,11 +26,11 @@
 PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
 
 cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
-is5249=$(shell grep CONFIG_M5249 $(TOPDIR)/include/$(cfg))
-is5253=$(shell grep CONFIG_M5253 $(TOPDIR)/include/$(cfg))
-is5271=$(shell grep CONFIG_M5271 $(TOPDIR)/include/$(cfg))
-is5272=$(shell grep CONFIG_M5272 $(TOPDIR)/include/$(cfg))
-is5282=$(shell grep CONFIG_M5282 $(TOPDIR)/include/$(cfg))
+is5249:=$(shell grep CONFIG_M5249 $(TOPDIR)/include/$(cfg))
+is5253:=$(shell grep CONFIG_M5253 $(TOPDIR)/include/$(cfg))
+is5271:=$(shell grep CONFIG_M5271 $(TOPDIR)/include/$(cfg))
+is5272:=$(shell grep CONFIG_M5272 $(TOPDIR)/include/$(cfg))
+is5282:=$(shell grep CONFIG_M5282 $(TOPDIR)/include/$(cfg))
 
 
 ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2)
#2 lore raw
Quoted 10 lines · In message <[email protected]> you wrote:
Quoted 7 lines · Shinya Kuribayashi

This will reduce the build time.

---

 cpu/mcf52x2/config.mk |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

Hm, maybe I'm mistaken wrt the latter two patches...

What was your mistake? They looked clean to me...

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Witch!  Witch!  They'll burn ya!
	-- Hag, "Tomorrow is Yesterday", stardate unknown
#3 lore raw
Quoted 4 lines · Wolfgang Denk
Quoted 3 lines · In message <[email protected]> you wrote:
Quoted 2 lines · Shinya Kuribayashi

This will reduce the build time.

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines

---

 cpu/mcf52x2/config.mk |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

Hm, maybe I'm mistaken wrt the latter two patches...

What was your mistake? They looked clean to me...

In mcf52x2 case, what cached by make is not is52XX variables, probably. Unfortunately I don't have powerpc/coldfire toolchains setup, please give it a try.

Shinya

#4 lore raw
In reply to Shinya Kuribayashi
Quoted 3 lines · In message <[email protected]> you wrote:

This will reduce the build time.

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Intuition, however illogical, is recognized as a command prerogative.
	-- Kirk, "Obsession", stardate 3620.7