Skip to content

Commit

Permalink
ta: use TA_SIGN_KEY value for the key to copy for build
Browse files Browse the repository at this point in the history
The default_ta.pem is copied whatever the key file used.
This leads to a build error if TA_SIGN_KEY is specified in the
build command.

Use the "TA_SIGN_KEY" value instead of hard-coding the key name.

Signed-off-by: Arnaud Pouliquen <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
Reviewed-by: Jerome Forissier <[email protected]>
Acked-by: Etienne Carriere <[email protected]>
  • Loading branch information
arnopo authored and jforissier committed May 31, 2023
1 parent f7a5c21 commit 4a2392d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ta/ta.mk
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ $(foreach f, $(ta-srcfiles), \
$(eval $(call copy-file, $(f), $(out-dir)/export-$(sm)/src)))

# Copy keys
ta-keys = keys/default_ta.pem
ta-keys := $(TA_SIGN_KEY)
$(foreach f, $(ta-keys), \
$(eval $(call copy-file, $(f), $(out-dir)/export-$(sm)/keys)))

Expand Down

0 comments on commit 4a2392d

Please sign in to comment.