Thank you Fabien Poussin!

This commit is contained in:
rusefi 2018-12-22 23:24:57 -05:00
parent e67f9ed33f
commit 12c7bcf0f0
1 changed files with 5 additions and 4 deletions

View File

@ -1,9 +1,10 @@
ifeq ("$(wildcard $(RULESFILE))","")
#
# 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'?)
$(info Invoking "git submodule update --init")
$(shell git submodule update --init)
$(info Invoked "git submodule update --init")
# make is not happy about newly checked out module for some reason but next invocation would work
$(error Please run 'make' again)
endif
ifeq ($(PROJECT_BOARD),)