From 768ec1cf7d43fe71bdec45808215402ea1fad420 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 9 Oct 2019 18:37:16 -0700 Subject: 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 Reviewed-by: Daisuke Nojiri Reviewed-by: Patrick Georgi Commit-Queue: Jett Rink Tested-by: Stefan Reinauer --- Makefile.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.rules') 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 -- cgit v1.2.1