Skip to content

Commit e726c8b

Browse files
committed
[nrf noup] zephyr: ED25519 KMU has now separate unit for compilation
Modify CMake files to take the unit when KMU is desired. Signed-off-by: Dominik Ermel <[email protected]>
1 parent de93d60 commit e726c8b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

boot/zephyr/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,14 @@ elseif(CONFIG_BOOT_SIGNATURE_TYPE_ED25519 OR CONFIG_BOOT_ENCRYPT_X25519)
316316
)
317317
endif()
318318

319+
elseif(NOT CONFIG_BOOT_SIGNATURE_USING_KMU)
319320
zephyr_library_sources(
320321
${BOOT_DIR}/bootutil/src/ed25519_psa.c
321322
)
323+
else()
324+
zephyr_library_sources(
325+
${BOOT_DIR}/bootutil/src/ed25519_psa_kmu.c
326+
)
322327
endif()
323328
endif()
324329

0 commit comments

Comments
 (0)