From: Shinya Kuribayashi Date: Sat, 23 Feb 2008 07:58:41 +0000 (+0900) Subject: cpu/mips/cofigl.mk: Make a needlessly deffered expansion immediate. X-Git-Tag: v1.3.2-rc2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e682ba399a1d76f09d8cc7af1e57066f1d360d91;p=u-boot cpu/mips/cofigl.mk: Make a needlessly deffered expansion immediate. This reduces the build time by ~10%. Here's the gth2_config example. BEFORE AFTER real 0m31.441s 0m27.833s user 0m24.766s 0m23.045s sys 0m10.425s 0m7.468s Signed-off-by: Shinya Kuribayashi --- diff --git a/cpu/mips/config.mk b/cpu/mips/config.mk index ad03bd61ba..b505a42550 100644 --- a/cpu/mips/config.mk +++ b/cpu/mips/config.mk @@ -21,7 +21,7 @@ # MA 02111-1307 USA # v=$(shell $(AS) --version |grep "GNU assembler" |cut -d. -f2) -MIPSFLAGS=$(shell \ +MIPSFLAGS:=$(shell \ if [ "$v" -lt "14" ]; then \ echo "-mcpu=4kc"; \ else \