summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2014-11-13 08:28:50 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-12-01 20:30:46 +0000
commit902a07b5c8efa59e03e57b3c45f17fc1d17e3125 (patch)
tree74d3759bcc147a49ecefbc51e566860ecc1f4ac6 /Makefile.rules
parentb41a0632db0abd010331b507cba4b472dd8e2fd8 (diff)
downloadchrome-ec-902a07b5c8efa59e03e57b3c45f17fc1d17e3125.tar.gz
Add RW firmware signature verification for common runtime
For accessories without software-sync mechanism, add the option to do a RSA-based signature verification of the Read-Write firmware. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=samus BUG=chrome-os-partner:31192 TEST=enable the configuration on Fruitpie and see the RW firmware validated and jump to. Tried with good and bad RW images. Change-Id: I3c886c2cbe17ca9543e19bf8599061c3f9751d4f Reviewed-on: https://chromium-review.googlesource.com/229594 Reviewed-by: Todd Broch <tbroch@chromium.org> Commit-Queue: Todd Broch <tbroch@chromium.org> Tested-by: Todd Broch <tbroch@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index bdb5ab8635..27f0d73f70 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -215,6 +215,8 @@ $(out)/ec_date.h: $(filter-out $(out)/common/version.o,$(objs))
$(out)/gen_pub_key.h: $(PEM)
$(call quiet,pubkey,PUBKEY )
+$(out)/common/rwsig.o: $(out)/gen_pub_key.h
+
$(build-utils): $(out)/%:$(build-srcs)
$(call quiet,c_to_build,BUILDCC)