summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2015-05-19 13:41:09 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-09 21:30:39 +0000
commitd7f0f93fa878e6dd7435adbe034e1fc7474f94b0 (patch)
tree7206dcafd5f53b9a16e9908fd9a0470697f72db4 /Makefile
parent3479e84e3041336f1e967c302c5a35cb64819927 (diff)
downloadvboot-d7f0f93fa878e6dd7435adbe034e1fc7474f94b0.tar.gz
vboot2: Add 2.0 api layer to verify kernel partition
This allows the caller to load the kernel partition and then pass it to vboot for verification, rather than having vboot assume the kernel partitions are all on a block storage device. Next up, APIs for the caller to parse partition information from a GPT (yes, that's cgptlib, but we'll make it more easily callable by depthcharge). BUG=chromium:487699 BRANCH=none TEST=make -j runtests Change-Id: I388085c7023f4c76d416f37df0607019bea844ac Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/275646 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e5535a7a..1273d80c 100644
--- a/Makefile
+++ b/Makefile
@@ -339,6 +339,7 @@ FWLIB2X_SRCS = \
FWLIB20_SRCS = \
firmware/lib20/api.c \
+ firmware/lib20/api_kernel.c \
firmware/lib20/common.c \
firmware/lib20/kernel.c \
firmware/lib20/misc.c \
@@ -722,6 +723,7 @@ TEST2X_NAMES = \
TEST20_NAMES = \
tests/vb20_api_tests \
+ tests/vb20_api_kernel_tests \
tests/vb20_common_tests \
tests/vb20_common2_tests \
tests/vb20_verify_fw.c \
@@ -1389,6 +1391,7 @@ run2tests: test_setup
${RUNTEST} ${BUILD_RUN}/tests/vb2_secdatak_tests
${RUNTEST} ${BUILD_RUN}/tests/vb2_sha_tests
${RUNTEST} ${BUILD_RUN}/tests/vb20_api_tests
+ ${RUNTEST} ${BUILD_RUN}/tests/vb20_api_kernel_tests
${RUNTEST} ${BUILD_RUN}/tests/vb20_common_tests
${RUNTEST} ${BUILD_RUN}/tests/vb20_common2_tests ${TEST_KEYS}
${RUNTEST} ${BUILD_RUN}/tests/vb20_common3_tests ${TEST_KEYS}