mirror of https://github.com/rusefi/wideband.git
open question but probably useful (#31)
This commit is contained in:
parent
4bb9ac6162
commit
dd4b3dd081
|
@ -196,6 +196,15 @@ endif
|
||||||
#
|
#
|
||||||
|
|
||||||
RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk
|
RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk
|
||||||
|
|
||||||
|
ifeq ("$(wildcard $(RULESPATH)/rules.mk)","")
|
||||||
|
$(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. Please make sure you have 'git' command in PATH)
|
||||||
|
endif
|
||||||
|
|
||||||
include $(RULESPATH)/arm-none-eabi.mk
|
include $(RULESPATH)/arm-none-eabi.mk
|
||||||
include $(RULESPATH)/rules.mk
|
include $(RULESPATH)/rules.mk
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue