summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2012-05-08 14:34:03 -0700
committerBill Richardson <wfrichar@chromium.org>2012-05-10 17:27:36 -0700
commit8101b7131651e344807d2bd0ec77542b3196a653 (patch)
treedf058964eee0efdfe82cfa2bd0f7e6ef013c45b8 /Makefile
parent058079977e3d94d05d40e44144549b9d4e391144 (diff)
downloadchrome-ec-8101b7131651e344807d2bd0ec77542b3196a653.tar.gz
Enable verified boot for EC firmware
BUG=chrome-os-partner:7459 TEST=manual In the chroot: cd src/platform/ec make BOARD=link The firmware image (build/link/ec.bin) is signed with dev-keys. Reflash the EC and try it, and it should verify and reboot into RW A. Additional tests (setting USE_RO_NORMAL, poking random values into VBLOCK_A or FW_MAIN_A to force RW B to run, etc.) are left as an exercise for the reader. I've done them and they work, though. Change-Id: I29a23ea69aef02a11aebd4af3b043f6864723523 Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 998009a3cd..ee86da1881 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,8 @@ include common/build.mk
include test/build.mk
include util/build.mk
+includes+=$(includes-y)
+
objs_from_dir=$(foreach obj,$(2), $(out)/$(1)/$(obj))
# Get all sources to build
@@ -47,6 +49,7 @@ all-y+=$(call objs_from_dir,board/$(BOARD),$(board-y))
all-y+=$(call objs_from_dir,private,$(private-y))
all-y+=$(call objs_from_dir,common,$(common-y))
all-y+=$(call objs_from_dir,test,$($(PROJECT)-y))
+all-y+=$(call objs_from_dir,vboot,$(vboot-y))
dirs=core/$(CORE) chip/$(CHIP) board/$(BOARD) private common test util
include Makefile.rules