From 73fd8cd22b91b2d20dc7d843348e2f15e38d2607 Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 13 Dec 2018 21:32:50 -0500 Subject: [PATCH] same story for simulator --- simulator/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/simulator/Makefile b/simulator/Makefile index e382ad8971..701c19cd69 100644 --- a/simulator/Makefile +++ b/simulator/Makefile @@ -3,6 +3,14 @@ # NOTE: Can be overridden externally. # +ifeq ("$(wildcard ../firmware/ChibiOS4/os/common/startup/ARMCMx/compilers/GCC/rules.mk)","") +# +# todo: someone please figure out the syntax to invoke 'git submodule update --init' from here +# +$(error Modules are missing? Did you execute 'git submodule update --init'?) +endif + + # Compiler options here. ifeq ($(USE_OPT),) # this config if debugging is needed, but the binary is about 50M