py/mkrules.mk $(HEADER_BUILD)/qstr.i.last - why are headers not dependencies?
Posted: Wed Sep 05, 2018 3:29 pm
Code: Select all
$(HEADER_BUILD)/qstr.i.last: $(SRC_QSTR) $(QSTR_GLOBAL_DEPENDENCIES) | $(HEADER_BUILD)/mpversion.h
$(ECHO) "GEN $@"
$(Q)$(CPP) $(QSTR_GEN_EXTRA_CFLAGS) $(CFLAGS) $(if $(filter $?,$(QSTR_GLOBAL_DEPENDENCIES)),$^,$(if $?,$?,$^)) >$(HEADER_BUILD)/qstr.i.last;
Seems that if they contain MP_QSTR_* and they change, that would be relevant to these prebuild steps.