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>
This commit is contained in:
Stefan Reinauer 2019-10-09 18:37:16 -07:00 committed by Commit Bot
parent 066b659a65
commit 768ec1cf7d
1 changed files with 2 additions and 2 deletions

View File

@ -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