summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2019-10-09 18:37:16 -0700
committerCommit Bot <commit-bot@chromium.org>2019-10-31 20:29:05 +0000
commit768ec1cf7d43fe71bdec45808215402ea1fad420 (patch)
tree90872437ed96062db500d9717eb56df91e26b70a
parent066b659a656089de4c798de637217137761bc0c4 (diff)
downloadchrome-ec-768ec1cf7d43fe71bdec45808215402ea1fad420.tar.gz
Use actual utilities dependency, not phony target
This prevents the EC binaries unnecessarily being recreated every time you run make on the target. BUG=none TEST= make BOARD=scarlet [..] make BOARD=scarlet *** 11460 bytes in flash and 10252 bytes in RAM still available on scarlet RO **** *** 24140 bytes in flash and 10252 bytes in RAM still available on scarlet RW **** BRANCH=none Change-Id: I6cabb7d1b7512162c8b24c7664bafc7d98c5eda5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1851106 Reviewed-by: Stefan Reinauer <reinauer@google.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Patrick Georgi <pgeorgi@chromium.org> Commit-Queue: Jett Rink <jettrink@chromium.org> Tested-by: Stefan Reinauer <reinauer@google.com>
-rw-r--r--Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index b2ed487d86..54917f5b60 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -453,10 +453,10 @@ $(out)/RW/%.hex: $(out)/RW/%.elf $(out)/RW/%.smap
$(call quiet,elf_to_hex,OBJCOPY)
ifeq ($(SIGNED_IMAGES),)
-$(out)/%.flat: $(out)/%.elf $(out)/%.smap utils-build
+$(out)/%.flat: $(out)/%.elf $(out)/%.smap $(build-utils)
$(call quiet,ec_elf_to_flat,OBJCOPY)
-$(out)/%.flat.dram: $(out)/%.elf $(out)/%.smap utils-build
+$(out)/%.flat.dram: $(out)/%.elf $(out)/%.smap $(build-utils)
$(call quiet,ec_elf_to_flat_dram,OBJCOPY)
$(out)/RO/%.hex: $(out)/RO/%.elf $(out)/RO/%.smap