summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2012-05-30 10:47:16 +0800
committerHung-Te Lin <hungte@chromium.org>2012-05-30 14:00:16 +0800
commit6654374f31f562dfd0012f83ca4d58735458e4b2 (patch)
treef821fd36c13b9fb2bd20026466ea058a2c0ada94
parent2835e5594e19d3de99fa4f77131908a13fd8a36d (diff)
downloadchrome-ec-6654374f31f562dfd0012f83ca4d58735458e4b2.tar.gz
ec: Remove *.dis from default target.
*.dis files can always be generated by *.elf files, so we can remove it from default build targets, and only generate that on demand (make dis). This also speeds up building time from 6.637s to 4.9s. BUG=chromium-os:31379 TEST=emerge-link chromeos-ec make # no *.dis make dis # get *.dis Change-Id: Ibc5305501ae72a0733f401863ea1d4c1f17aa34f Signed-off-by: Hung-Te Lin <hungte@chromium.org>
-rw-r--r--Makefile.rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index c36cda2f06..152a50e6e9 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -55,7 +55,9 @@ cmd_copyab = cd $(out) && cp $(PROJECT).A.flat $(PROJECT).A.bin && \
cp $(PROJECT).B.flat $(PROJECT).B.bin
.PHONY: all tests utils
-all: $(out)/$(PROJECT).bin $(foreach s,A B RO,$(out)/$(PROJECT).$(s).dis) utils
+all: $(out)/$(PROJECT).bin utils
+
+dis: $(foreach s,A B RO,$(out)/$(PROJECT).$(s).dis)
utils: $(build-utils) $(host-utils)