summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2014-11-19 15:53:04 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-11-20 08:38:20 +0000
commit042dcf8c8a402407d181aa65ae92b9c131381007 (patch)
treea6076d810d7fce7563c3993fba961fded37f6954
parentc420bf1922d101d318e278e14d57f0304857a330 (diff)
downloadchrome-ec-042dcf8c8a402407d181aa65ae92b9c131381007.tar.gz
ec: Add lds dependencies to the dependency list.
With this change, when we modify some config file related to space, the lds is recompiled properly. TEST=Check that when chip/stm32/configXX.h is modified, ec.RO.lds is recompiled. BRANCH=ToT BUG=None Change-Id: I0a49065e59f00dd37d945d9593126ab9fd1598b5 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/230908 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--Makefile.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 325e6066a7..bdb5ab8635 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -156,6 +156,7 @@ $(out)/%.spi.bin: $(out)/%.bin
$(call quiet,pack_package,PACK )
flat-y = $(out)/$(PROJECT).RO.flat $(out)/$(PROJECT).RW.flat
+deps += $(out)/firmware_image.lds.d $(flat-y:%.flat=%.lds.d)
$(out)/%.obj: common/firmware_image.S $(out)/firmware_image.lds $(flat-y)
$(call quiet,flat_to_obj,CAT )