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