summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorCarl Hamilton <carlh@chromium.org>2018-12-07 13:55:36 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-02-08 14:27:03 -0800
commit11303f23c7c4abc168ff34ae0f3344635157089f (patch)
treef521908ef7276c0784864d559ae741f0b255ef13 /Makefile.rules
parent2c38103382d077020d1335a7094190b493ed358b (diff)
downloadchrome-ec-11303f23c7c4abc168ff34ae0f3344635157089f.tar.gz
For boards configured with an RW B side, produce a hex file for the B side.
If a board configuration produces an RW image for its B side, it makes sense that requesting the "hex" target would produce a hex file for the B side image as well as the A side image. BUG=none BRANCH=none TEST=make -j buildall Signed-off-by: Carl Hamilton <carlh@chromium.org> Change-Id: Ib4ff1e41272ebf199c6361da4b572a43d403a003 Reviewed-on: https://chromium-review.googlesource.com/1369686 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 62385c4786..8ea3c7cac0 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -221,6 +221,7 @@ dis: $(dis-y)
.PHONY: dis
hex-y := $(out)/RO/$(PROJECT).RO.hex $(out)/RW/$(PROJECT).RW.hex $(out)/$(PROJECT).hex
+hex-$(CONFIG_RW_B) += $(out)/RW/$(PROJECT).RW_B.hex
hex: $(hex-y)
.PHONY: hex