File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -557,6 +557,11 @@ set(WOLFBOOT_SOURCES "include/loader.h"
557557 "src/image.c"
558558 "src/loader.c" )
559559
560+ if ((DEFINED WOLFCRYPT_TZ_PKCS11 AND NOT WOLFCRYPT_TZ_PKCS11 STREQUAL "0" ) OR
561+ (DEFINED WOLFCRYPT_TZ_PSA AND NOT WOLFCRYPT_TZ_PSA STREQUAL "0" ))
562+ list (APPEND WOLFBOOT_SOURCES "src/store_sbrk.c" )
563+ endif ()
564+
560565if (DEFINED WOLFCRYPT_TZ_PSA AND NOT WOLFCRYPT_TZ_PSA STREQUAL "0" )
561566 list (APPEND WOLFBOOT_SOURCES "src/dice/dice.c" )
562567endif ()
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ target_link_libraries(wolfcrypt target user_settings)
219219target_compile_definitions (
220220 wolfcrypt
221221 PUBLIC WOLFSSL_USER_SETTINGS
222- PRIVATE ${WOLFCRYPT_DEFS} ${SIGN_OPTIONS} )
222+ PRIVATE ${WOLFCRYPT_DEFS} ${SIGN_OPTIONS} ${WOLFBOOT_DEFS} )
223223
224224if (WOLFBOOT_SMALL_STACK)
225225 target_compile_definitions (wolfcrypt PRIVATE WOLFBOOT_SMALL_STACK XMALLOC_USER )
You can’t perform that action at this time.
0 commit comments