From 042dcf8c8a402407d181aa65ae92b9c131381007 Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Wed, 19 Nov 2014 15:53:04 -0800 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/230908 Reviewed-by: Randall Spangler Reviewed-by: Vincent Palatin --- Makefile.rules | 1 + 1 file changed, 1 insertion(+) 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 )