From aa0512f5f60a12527b9e9e01a899e1a39231d95b Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 23 May 2024 14:54:33 -0400 Subject: [PATCH] variable shadowing should be avoided #5676 --- firmware/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/firmware/Makefile b/firmware/Makefile index bfa6d6a484..df09492206 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -42,8 +42,6 @@ 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 PROJECT = rusefi PROJECT_DIR = . @@ -201,6 +199,9 @@ endif endif DDEFS += -DSHORT_BOARD_NAME=$(SHORT_BOARD_NAME) +# should be after 'board.mk' +include rusefi_rules.mk + # Include various ChibiOS mk files # Licensing files. include $(CHIBIOS)/os/license/license.mk