help make clean https://github.com/rusefi/rusefi/issues/5931
This commit is contained in:
parent
bb04f83f12
commit
4d014570b5
|
@ -162,9 +162,11 @@ MAKEFLAGS += ${NUMJOBS}
|
||||||
BOARDINC = $(BOARD_DIR)
|
BOARDINC = $(BOARD_DIR)
|
||||||
include $(BOARD_DIR)/board.mk
|
include $(BOARD_DIR)/board.mk
|
||||||
BOARDCPPSRC += $(BOARDS_DIR)/board_id.cpp
|
BOARDCPPSRC += $(BOARDS_DIR)/board_id.cpp
|
||||||
|
ifeq (,$(filter clean,$(MAKECMDGOALS)))
|
||||||
ifeq ($(SHORT_BOARD_NAME),)
|
ifeq ($(SHORT_BOARD_NAME),)
|
||||||
$(error SHORT_BOARD_NAME not set, something wrong with your meta-info.env file)
|
$(error SHORT_BOARD_NAME not set, something wrong with your meta-info.env file)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
DDEFS += -DSHORT_BOARD_NAME=$(SHORT_BOARD_NAME)
|
DDEFS += -DSHORT_BOARD_NAME=$(SHORT_BOARD_NAME)
|
||||||
|
|
||||||
# Include various ChibiOS mk files
|
# Include various ChibiOS mk files
|
||||||
|
|
Loading…
Reference in New Issue