mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
fix(arm): create build directory before key generation
Arm ROTPK generation may start before the build directory is created, causing errors like: 00:45:53.235 Can't open "/home/buildslave/workspace/tf-a-coverity/ trusted-firmware-a/build/rd1ae/debug/arm_rotpk.bin" for writing, No such file or directory This patch ensures the build directory is created beforehand to prevent such issues. Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> Change-Id: I73f7d5af00efc738e95ea79c5cacecdb6a2d20c6
This commit is contained in:
parent
fdbd18b56c
commit
db69d11829
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ ifdef ROT_KEY
|
|||
PK_PREREQUISITES = $(ROT_KEY) FORCE
|
||||
endif
|
||||
|
||||
$(ARM_ROTPK) : $(PK_PREREQUISITES)
|
||||
$(ARM_ROTPK) : $(PK_PREREQUISITES) | $$(@D)/
|
||||
ifndef ROT_KEY
|
||||
$(error Cannot generate public key: no ROT_KEY defined)
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue