Commit c48e7f91 authored by Szymon Janc's avatar Szymon Janc Committed by Carles Cufí
Browse files

boot_serial: Fix build on Zephyr with ECDSA enabled

parent c1693d66
Loading
Loading
Loading
Loading
−2

File deleted.

−5

File deleted.

+5 −1
Changes for boot/zephyr/CMakeLists.txt: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -128,8 +128,12 @@ endif()

if (CONFIG_MCUBOOT_SERIAL)
zephyr_sources(${BOOT_DIR}/zephyr/serial_adapter.c)
zephyr_sources(${BOOT_DIR}/boot_serial/src/boot_serial.c)

add_subdirectory(${BOOT_DIR}/boot_serial ./boot/boot_serial)
zephyr_include_directories(${BOOT_DIR}/bootutil/include)
zephyr_include_directories(${BOOT_DIR}/boot_serial/include)
zephyr_include_directories(include)
zephyr_link_libraries_ifdef(CONFIG_TINYCBOR TINYCBOR)
endif()

if(NOT CONFIG_BOOT_SIGNATURE_KEY_FILE STREQUAL "")