From dd255696a554e476b41200ed16e805d4bc0ca798 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 7 Jan 2026 11:07:01 +0100 Subject: [PATCH] Make use of some intermediate variables Signed-off-by: Gilles Peskine --- scripts/crypto-common.make | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/crypto-common.make b/scripts/crypto-common.make index c944cc528b..c5c24e2b09 100644 --- a/scripts/crypto-common.make +++ b/scripts/crypto-common.make @@ -23,8 +23,8 @@ ifeq (,$(wildcard $(TF_PSA_CRYPTO_PATH)/core/psa_crypto.c)) $(error $$(TF_PSA_CRYPTO_PATH)/core/psa_crypto.c not found) endif -TF_PSA_CRYPTO_CORE_PATH = $(MBEDTLS_PATH)/tf-psa-crypto/core -TF_PSA_CRYPTO_DRIVERS_BUILTIN_SRC_PATH = $(MBEDTLS_PATH)/tf-psa-crypto/drivers/builtin/src +TF_PSA_CRYPTO_CORE_PATH = $(TF_PSA_CRYPTO_PATH)/core +TF_PSA_CRYPTO_DRIVERS_BUILTIN_SRC_PATH = $(TF_PSA_CRYPTO_PATH)/drivers/builtin/src # Gather information about crypto drivers that are separate from the main # "builtin" driver (historically located in /3rdparty in Mbed TLS 2.x/3.x). @@ -43,8 +43,8 @@ TF_PSA_CRYPTO_LIBRARY_PUBLIC_INCLUDE = \ # (currently consumed by Mbed TLS, eventually not so when we've finished # cleaning up) TF_PSA_CRYPTO_LIBRARY_PRIVATE_INCLUDE = \ - -I$(TF_PSA_CRYPTO_PATH)/core \ - -I$(TF_PSA_CRYPTO_PATH)/drivers/builtin/src + -I$(TF_PSA_CRYPTO_CORE_PATH) \ + -I$(TF_PSA_CRYPTO_DRIVERS_BUILTIN_SRC_PATH) # Extra linker flags required by the crypto library or the platform TF_PSA_CRYPTO_EXTRA_LDFLAGS =