From 0ad7cc2bf976d910f37b5a218cce5626c1393857 Mon Sep 17 00:00:00 2001 From: Harry Ramsey Date: Mon, 4 Nov 2024 12:18:53 +0000 Subject: [PATCH] Fix undefined variable in makefile This commit replaces an undefined variable ${MBEDTLS_FRAMEWORK_DIR} for ${MBEDTLS_PATH}. Signed-off-by: Harry Ramsey --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 89142b1b4c..bc01c8caba 100644 --- a/Makefile +++ b/Makefile @@ -8,12 +8,12 @@ ifneq (,$(filter-out lib library/%,$(or $(MAKECMDGOALS),all))) # GNU make appends ". Stop.", so tweak the ending of our message accordingly. ifeq (,$(wildcard .git)) define error_message -${MBEDTLS_FRAMEWORK_DIR}/exported.make not found (and does appear to be a git checkout). Run `git submodule update --init` from the source tree to fetch the submodule contents. +${MBEDTLS_PATH}/framework/exported.make not found (and does appear to be a git checkout). Run `git submodule update --init` from the source tree to fetch the submodule contents. This is a fatal error endef else define error_message -${MBEDTLS_FRAMEWORK_DIR}/exported.make not found (and does not appear to be a git checkout). Please ensure you have downloaded the right archive from the release page on GitHub. +${MBEDTLS_PATH}/framework/exported.make not found (and does not appear to be a git checkout). Please ensure you have downloaded the right archive from the release page on GitHub. endef endif $(error $(error_message))