summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-02-01 14:13:17 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-02-02 17:20:10 -0800
commit9abc13d25a583b80fb9f54c8d157dddfdb242659 (patch)
tree226060e6d3e34c79cac1510863890da9c84b8296
parent960cf45b3ffe88e842c27145e7e646d63a89c371 (diff)
downloadchrome-ec-9abc13d25a583b80fb9f54c8d157dddfdb242659.tar.gz
cr50: signer should be a dependency for RW_B target too
The makefile is missing an explicit dependency which ensures that the signer utility is available by the time the RW_B image is built. This works most of the time, but once in a while RW_B gets ahead in the race and the build fails. Adding explicit dependency will prevent this from happening. BRANCH=none BUG=chromium:578761 TEST=make buildall -j still succeeds. Change-Id: I7f5223f51e71b1d78de012bf5d934f1a17c86cc0 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/325031 Reviewed-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
-rw-r--r--chip/g/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/g/build.mk b/chip/g/build.mk
index 3564865f6b..11246a7fed 100644
--- a/chip/g/build.mk
+++ b/chip/g/build.mk
@@ -76,4 +76,5 @@ $(out)/RW/ec.RW.flat: $(out)/util/signer
ifneq ($(CONFIG_RW_B),)
$(out)/$(PROJECT).obj: $(out)/RW/ec.RW_B.flat
+$(out)/RW/ec.RW_B.flat: $(out)/util/signer
endif