mirror of https://github.com/rusefi/rusefi.git
include board.mk
This commit is contained in:
parent
af200c573a
commit
c01393b059
|
@ -19,6 +19,13 @@ RULESPATH = $(CHIBIOS)/os/common/startup/SIMIA32/compilers/GCC
|
||||||
|
|
||||||
PROJECT_CPU=simulator
|
PROJECT_CPU=simulator
|
||||||
|
|
||||||
|
# Board-specific configuration
|
||||||
|
ifeq (,$(filter clean,$(MAKECMDGOALS)))
|
||||||
|
ifneq ($(BOARD_DIR),)
|
||||||
|
include ../firmware/$(BOARD_DIR)/board.mk
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
include ../firmware/rusefi.mk
|
include ../firmware/rusefi.mk
|
||||||
include ../firmware/rusefi_rules.mk
|
include ../firmware/rusefi_rules.mk
|
||||||
|
|
||||||
|
@ -174,6 +181,7 @@ CSRC = $(ALLCSRC) \
|
||||||
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
|
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
|
||||||
# setting.
|
# setting.
|
||||||
CPPSRC = $(ALLCPPSRC) \
|
CPPSRC = $(ALLCPPSRC) \
|
||||||
|
$(BOARDCPPSRC) \
|
||||||
$(CHIBIOS)/os/various/cpp_wrappers/ch.cpp \
|
$(CHIBIOS)/os/various/cpp_wrappers/ch.cpp \
|
||||||
$(HW_LAYER_DRIVERS_CPP) \
|
$(HW_LAYER_DRIVERS_CPP) \
|
||||||
$(HW_LAYER_DRIVERS_CORE_CPP) \
|
$(HW_LAYER_DRIVERS_CORE_CPP) \
|
||||||
|
|
Loading…
Reference in New Issue