mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 02:54:24 +00:00
fix(arm): don't race on the build directory
Wait for it to have been created. This is the same issue as
commit db69d11829
.
Change-Id: I32bd0c713e2837563d32131fb0beddb5533c0792
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
This commit is contained in:
parent
3395bd12bc
commit
9855568cc5
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015-2024, Arm Limited and Contributors. All rights reserved.
|
# Copyright (c) 2015-2025, Arm Limited and Contributors. All rights reserved.
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
#
|
#
|
||||||
|
@ -148,14 +148,14 @@ $(BUILD_PLAT)/bl2/arm_dev_protpk.o: $(ARM_PROTPK)
|
||||||
$(BUILD_PLAT)/bl2/arm_dev_swd_rotpk.o: $(ARM_SWD_ROTPK)
|
$(BUILD_PLAT)/bl2/arm_dev_swd_rotpk.o: $(ARM_SWD_ROTPK)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(ARM_PROTPK): $(ARM_PROT_KEY)
|
$(ARM_PROTPK): $(ARM_PROT_KEY) | $$(@D)/
|
||||||
ifndef ARM_PROT_KEY
|
ifndef ARM_PROT_KEY
|
||||||
$(error Cannot generate hash: no PROT_KEY defined)
|
$(error Cannot generate hash: no PROT_KEY defined)
|
||||||
endif
|
endif
|
||||||
${OPENSSL_BIN_PATH}/openssl ${CRYPTO_ALG} -in ${ARM_PROT_KEY} -pubout -outform DER | \
|
${OPENSSL_BIN_PATH}/openssl ${CRYPTO_ALG} -in ${ARM_PROT_KEY} -pubout -outform DER | \
|
||||||
${OPENSSL_BIN_PATH}/openssl dgst -${HASH_ALG} -binary -out $@
|
${OPENSSL_BIN_PATH}/openssl dgst -${HASH_ALG} -binary -out $@
|
||||||
|
|
||||||
$(ARM_SWD_ROTPK): $(ARM_SWD_ROT_KEY)
|
$(ARM_SWD_ROTPK): $(ARM_SWD_ROT_KEY) | $$(@D)/
|
||||||
ifndef ARM_SWD_ROT_KEY
|
ifndef ARM_SWD_ROT_KEY
|
||||||
$(error Cannot generate hash: no SWD_KEY defined)
|
$(error Cannot generate hash: no SWD_KEY defined)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue