check for file first
This commit is contained in:
parent
f5019e6000
commit
c7e4573428
|
@ -19,7 +19,9 @@ RULESPATH = $(CHIBIOS)/os/common/startup/SIMIA32/compilers/GCC
|
|||
PROJECT_CPU=simulator
|
||||
|
||||
ifneq ($(BOARD_DIR),)
|
||||
BOARDCPPSRC += $(BOARD_DIR)/default_tune.cpp
|
||||
ifneq ("$(wildcard ../firmware/$(BOARD_DIR)/default_tune.cpp)","")
|
||||
BOARDCPPSRC += ../firmware/$(BOARD_DIR)/default_tune.cpp
|
||||
endif
|
||||
endif
|
||||
|
||||
include ../firmware/rusefi.mk
|
||||
|
|
Loading…
Reference in New Issue