summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2021-01-18 15:37:56 +0800
committerCommit Bot <commit-bot@chromium.org>2021-01-20 11:30:12 +0000
commita82bb0e0ed2e4e282d15781816ee3ad783d6fa34 (patch)
treea362cb5b1bb97ba9f9c8c51cb86abcbf6cd10706 /Makefile
parenta3abedfc06f16690c858242c037b1cf47da00288 (diff)
downloadvboot-a82bb0e0ed2e4e282d15781816ee3ad783d6fa34.tar.gz
vboot: move lib20/packed_key.c into 2lib namespace
lib20/packed_key.c functions are currently called throughout 2lib namespace, so move to 2lib/2packed_key.c. Move function declarations from vb2_common.h to 2packed_key.h, and include 2packed_key.h from 2common.h. BUG=b:124141368, chromium:968464 TEST=make clean && make runtests BRANCH=none Signed-off-by: Joel Kitching <kitching@google.com> Change-Id: I151b2d41cbbfa1bfd03de301bd4ee69c49e81f3b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2635220 Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 849b6bd1..6ab00844 100644
--- a/Makefile
+++ b/Makefile
@@ -382,6 +382,7 @@ FWLIB_SRCS = \
firmware/2lib/2kernel.c \
firmware/2lib/2misc.c \
firmware/2lib/2nvstorage.c \
+ firmware/2lib/2packed_key.c \
firmware/2lib/2recovery_reasons.c \
firmware/2lib/2rsa.c \
firmware/2lib/2secdata_firmware.c \
@@ -400,8 +401,7 @@ FWLIB_SRCS = \
firmware/lib/vboot_api_kernel.c \
firmware/lib/vboot_kernel.c \
firmware/lib20/api_kernel.c \
- firmware/lib20/kernel.c \
- firmware/lib20/packed_key.c
+ firmware/lib20/kernel.c
# Only add these to firmware and test builds,
# as regular host builds don't need them