From 085e5f21565fe405eff18c0bb37fb7cf415e5ab2 Mon Sep 17 00:00:00 2001 From: rusefillc <48498823+rusefillc@users.noreply.github.com> Date: Fri, 29 Jul 2022 10:35:05 -0400 Subject: [PATCH] https://rusefi.com/forum/viewtopic.php?p=45952#p45952 (#4400) Co-authored-by: rusefillc --- firmware/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/Makefile b/firmware/Makefile index c63865c670..9c29458893 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -9,6 +9,10 @@ CHIBIOS = ChibiOS RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk RULESFILE = $(RULESPATH)/rules.mk +ifneq ("$(wildcard $(../.git))","") +$(error ../.git not found. We expect source code to be cloned not downloaded as zip file.") +endif + include rusefi_rules.mk # Define project name here