include after main rules so that deps exist
This commit is contained in:
parent
4c0707e751
commit
07b2f1b783
|
@ -383,7 +383,8 @@ openblt_clean:
|
|||
make -f $(PROJECT_DIR)/hw_layer/openblt/openblt.mk clean BOARD_DIR=$(BOARD_DIR) PROJECT_BOARD=$(PROJECT_BOARD) PROJECT_CPU=$(PROJECT_CPU)
|
||||
|
||||
# Enable precompiled header
|
||||
include rusefi_pch.mk
|
||||
include $(PROJECT_DIR)/rusefi_pch.mk
|
||||
include $(PROJECT_DIR)/gitversion.mk
|
||||
|
||||
POST_MAKE_ALL_RULE_HOOK: $(BUILDDIR)/$(PROJECT).elf
|
||||
@java -jar ../java_tools/gcc_map_reader.jar $(BUILDDIR)/$(PROJECT).map | grep Total || echo Unable to run gcc_map_reader
|
||||
|
|
|
@ -335,3 +335,4 @@ ULIBS = -lm --specs=nano.specs
|
|||
|
||||
include $(RULESFILE)
|
||||
include $(PROJECT_DIR)/rusefi_pch.mk
|
||||
include $(PROJECT_DIR)/gitversion.mk
|
||||
|
|
|
@ -9,3 +9,7 @@ gitversion.h.gen : .FORCE
|
|||
|
||||
gitversion.h : gitversion.h.gen
|
||||
rsync --checksum $< $@
|
||||
|
||||
# All objects could depend on git version
|
||||
$(TCPPOBJS) : gitversion.h
|
||||
$(ACPPOBJS) : gitversion.h
|
||||
|
|
|
@ -80,6 +80,3 @@ endif
|
|||
ifeq ($(GENERATED_ENUMS_DIR),)
|
||||
GENERATED_ENUMS_DIR = $(PROJECT_DIR)/controllers/algo
|
||||
endif
|
||||
|
||||
# Generate git version header
|
||||
include gitversion.mk
|
||||
|
|
|
@ -284,3 +284,4 @@ include $(RULESPATH)/rules.mk
|
|||
|
||||
# Enable precompiled header
|
||||
include $(PROJECT_DIR)/rusefi_pch.mk
|
||||
include $(PROJECT_DIR)/gitversion.mk
|
||||
|
|
|
@ -238,3 +238,4 @@ endif
|
|||
|
||||
include $(UNIT_TESTS_DIR)/rules.mk
|
||||
include $(PROJECT_DIR)/rusefi_pch.mk
|
||||
include $(PROJECT_DIR)/gitversion.mk
|
||||
|
|
Loading…
Reference in New Issue