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 <dominik.ermel@nordicsemi.no>
This commit is contained in:
Dominik Ermel 2020-06-08 12:40:06 +00:00 committed by Fabio Utzig
parent 97e966a226
commit 9b48d08dfc
1 changed files with 1 additions and 1 deletions

View File

@ -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()