From 9b48d08dfc28742e4bd390ce6f981aa5e470df55 Mon Sep 17 00:00:00 2001 From: Dominik Ermel Date: Mon, 8 Jun 2020 12:40:06 +0000 Subject: [PATCH] boot/zephyr: Fix single image compilation with serial recovery Fixes mistake in CMakeLits.txt that prevented successful compilation of single image with serial recovery enabled. Signed-off-by: Dominik Ermel --- boot/zephyr/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/zephyr/CMakeLists.txt b/boot/zephyr/CMakeLists.txt index 121e5842..5bc32ac0 100644 --- a/boot/zephyr/CMakeLists.txt +++ b/boot/zephyr/CMakeLists.txt @@ -99,6 +99,7 @@ zephyr_library_sources( ${BOOT_DIR}/bootutil/src/image_rsa.c ${BOOT_DIR}/bootutil/src/image_ec256.c ${BOOT_DIR}/bootutil/src/image_ed25519.c + ${BOOT_DIR}/bootutil/src/bootutil_misc.c ) if(CONFIG_SINGLE_IMAGE_DFU) @@ -112,7 +113,6 @@ zephyr_library_sources( ${BOOT_DIR}/bootutil/src/swap_misc.c ${BOOT_DIR}/bootutil/src/swap_scratch.c ${BOOT_DIR}/bootutil/src/swap_move.c - ${BOOT_DIR}/bootutil/src/bootutil_misc.c ${BOOT_DIR}/bootutil/src/caps.c ) endif()