helping build?

This commit is contained in:
rusefillc 2021-07-05 10:57:40 -04:00
parent ca4caf1df8
commit 88da5c09b0
1 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,14 @@
ifeq ("$(wildcard $(RULESFILE))","")
$(info Invoking "git submodule update --init")
$(info Chibios: 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
ifeq ("$(wildcard $(CHIBIOS_CONTRIB)/os/hal/hal.mk)","")
$(info Contrib: 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