mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-25 00:02:42 +00:00
Fix undefined variable in makefile
This commit replaces an undefined variable ${MBEDTLS_FRAMEWORK_DIR} for ${MBEDTLS_PATH}. Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
This commit is contained in:
parent
66ce986ef3
commit
0f07e76b4b
4
Makefile
4
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.
|
# GNU make appends ". Stop.", so tweak the ending of our message accordingly.
|
||||||
ifeq (,$(wildcard .git))
|
ifeq (,$(wildcard .git))
|
||||||
define error_message
|
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
|
This is a fatal error
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define error_message
|
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
|
endef
|
||||||
endif
|
endif
|
||||||
$(error $(error_message))
|
$(error $(error_message))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user