From e3fee8bef530330caaef79c6a320074e65a95765 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 27 Jul 2022 02:49:01 -0400 Subject: [PATCH] https://rusefi.com/forum/viewtopic.php?p=45938#p45938 --- firmware/rusefi.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/firmware/rusefi.mk b/firmware/rusefi.mk index 28fa24070e..ecfa678bc5 100644 --- a/firmware/rusefi.mk +++ b/firmware/rusefi.mk @@ -1,14 +1,15 @@ ifeq ("$(wildcard $(RULESFILE))","") -$(info Chibios: Invoking "git submodule update --init") +$(info $(RULESFILE) not found. 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") +CHIBIOS_CONTRIB_FILE=$(CHIBIOS_CONTRIB)/os/hal/hal.mk +ifeq ("$(wildcard $(CHIBIOS_CONTRIB_FILE))","") +$(info $(CHIBIOS_CONTRIB_FILE) not found. 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