mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-13 13:49:54 +00:00
Fix incorrect submodule error message in Makefile
This commit fixes a condition where the incorrect submodule error message was displayed as the check for the directory returns true only if the directory does not exist Signed-off-by: Harry Ramsey <[email protected]>
This commit is contained in:
@@ -6,7 +6,7 @@ ifneq (,$(filter-out lib library/%,$(or $(MAKECMDGOALS),all)))
|
|||||||
ifeq (,$(wildcard framework/exported.make))
|
ifeq (,$(wildcard framework/exported.make))
|
||||||
# Use the define keyword to get a multi-line message.
|
# Use the define keyword to get a multi-line message.
|
||||||
# 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))
|
ifneq (,$(wildcard .git))
|
||||||
define error_message
|
define error_message
|
||||||
${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.
|
${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
|
||||||
|
|||||||
Reference in New Issue
Block a user