]> git.sur5r.net Git - u-boot/commitdiff
cpu/mips/cofigl.mk: Make a needlessly deffered expansion immediate.
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sat, 23 Feb 2008 07:58:41 +0000 (16:58 +0900)
committerWolfgang Denk <wd@denx.de>
Sat, 23 Feb 2008 08:44:19 +0000 (09:44 +0100)
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 <skuribay@ruby.dti.ne.jp>
cpu/mips/config.mk

index ad03bd61ba5dbcbad2b154f39fb8efe4a7a4b9cb..b505a42550c2845e035ae976d711088a25346e71 100644 (file)
@@ -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 \