Get default tune and include meta output folder
This commit is contained in:
parent
5865b3a4e6
commit
0db2ed0d85
|
@ -27,6 +27,12 @@ endif
|
|||
|
||||
BOARDS_DIR = $(PROJECT_DIR)/config/boards
|
||||
|
||||
ifneq ($(META_OUTPUT_ROOT_FOLDER),)
|
||||
ifeq ($(BOARD_DIR),)
|
||||
BOARDINC += $(META_OUTPUT_ROOT_FOLDER)
|
||||
endif
|
||||
endif
|
||||
|
||||
# allow passing a custom board dir, otherwise generate it based on the board name
|
||||
ifeq ($(BOARD_DIR),)
|
||||
BOARD_DIR = $(BOARDS_DIR)/$(PROJECT_BOARD)
|
||||
|
|
|
@ -12,15 +12,17 @@
|
|||
#
|
||||
|
||||
|
||||
|
||||
CHIBIOS = ../firmware/ChibiOS
|
||||
CHIBIOS_CONTRIB= ../firmware/ChibiOS-Contrib
|
||||
CHIBIOS_CONTRIB = ../firmware/ChibiOS-Contrib
|
||||
RULESPATH = $(CHIBIOS)/os/common/startup/SIMIA32/compilers/GCC
|
||||
|
||||
PROJECT_CPU=simulator
|
||||
|
||||
ifneq ($(BOARD_DIR),)
|
||||
BOARDCPPSRC += $(BOARD_DIR)/default_tune.cpp
|
||||
endif
|
||||
|
||||
include ../firmware/rusefi.mk
|
||||
RULESFILE = ../firmware/rusefi_rules.mk
|
||||
|
||||
# Configure precompiled header
|
||||
PCH_DIR = $(PROJECT_DIR)/pch
|
||||
|
|
Loading…
Reference in New Issue