diff options
author | Randall Spangler <rspangler@chromium.org> | 2014-11-25 10:52:59 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-12-01 20:30:50 +0000 |
commit | 42a850059ca07f5e14fdf31990a35ad63e3f1bd8 (patch) | |
tree | ab65411dc63c7d86bf6ada386020873ea92bb80b /Makefile | |
parent | 9328bbff521625e788396ef9c5b26b79e6d1a7cb (diff) | |
download | vboot-42a850059ca07f5e14fdf31990a35ad63e3f1bd8.tar.gz |
vboot2: Add host lib function to create a vb2-style firmware preamble
And associated unit tests
BUG=chromium:423882
BRANCH=none
TEST=VBOOT2=1 make runtests
Change-Id: I3bf6ff6c6e32dfd0dd737f9b04ff0546e9e0a463
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/231728
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -376,6 +376,7 @@ UTILLIB_SRCS = \ ifneq (${VBOOT2},) UTILLIB_SRCS += \ + host/lib/host_fw_preamble2.c \ host/lib/host_key2.c \ host/lib/host_keyblock2.c \ host/lib/host_misc2.c \ @@ -639,6 +640,7 @@ TEST_NAMES += \ tests/vb2_common_tests \ tests/vb2_common2_tests \ tests/vb2_common3_tests \ + tests/vb2_host_fw_preamble_tests \ tests/vb2_host_key_tests \ tests/vb2_host_keyblock_tests \ tests/vb2_host_misc_tests \ @@ -1000,6 +1002,7 @@ ${BUILD}/tests/vb2_api2_tests: LDLIBS += ${CRYPTO_LIBS} ${BUILD}/tests/vb2_common_tests: LDLIBS += ${CRYPTO_LIBS} ${BUILD}/tests/vb2_common2_tests: LDLIBS += ${CRYPTO_LIBS} ${BUILD}/tests/vb2_common3_tests: LDLIBS += ${CRYPTO_LIBS} +${BUILD}/tests/vb2_host_fw_preamble_tests: LDLIBS += ${CRYPTO_LIBS} ${BUILD}/tests/vb2_host_key_tests: LDLIBS += ${CRYPTO_LIBS} ${BUILD}/tests/vb2_host_keyblock_tests: LDLIBS += ${CRYPTO_LIBS} ${BUILD}/tests/vb2_host_sig_tests: LDLIBS += ${CRYPTO_LIBS} @@ -1182,6 +1185,7 @@ run2tests: test_setup ${RUNTEST} ${BUILD_RUN}/tests/vb2_common_tests ${RUNTEST} ${BUILD_RUN}/tests/vb2_common2_tests ${TEST_KEYS} ${RUNTEST} ${BUILD_RUN}/tests/vb2_common3_tests ${TEST_KEYS} + ${RUNTEST} ${BUILD_RUN}/tests/vb2_host_fw_preamble_tests ${TEST_KEYS} ${RUNTEST} ${BUILD_RUN}/tests/vb2_host_key_tests ${TEST_KEYS} ${RUNTEST} ${BUILD_RUN}/tests/vb2_host_keyblock_tests ${TEST_KEYS} ${RUNTEST} ${BUILD_RUN}/tests/vb2_host_misc_tests |