Show guidance if the framework is not found

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/scripts/common.make b/scripts/common.make
index 2da58d0..9908a3c 100644
--- a/scripts/common.make
+++ b/scripts/common.make
@@ -4,6 +4,16 @@
 MBEDTLS_PATH := ..
 endif
 
+ifeq (,$(wildcard $(MBEDTLS_PATH)/framework/exported.make))
+    # Use the define keyword to get a multi-line message.
+    # GNU make appends ".  Stop.", so tweak the ending of our message accordingly.
+    define error_message
+$(MBEDTLS_PATH)/framework/exported.make not found.
+Run `git submodule update --init` to fetch the submodule contents.
+This is a fatal error
+    endef
+    $(error $(error_message))
+endif
 include $(MBEDTLS_PATH)/framework/exported.make
 
 CFLAGS	?= -O2