py: Use "GEN" consistently for describing files generated in the build.

This commit is contained in:
Damien George 2018-02-22 11:35:53 +11:00
parent 65ef59a9b5
commit 6af4515969
2 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ def make_version_header(filename):
# Only write the file if we need to
if write_file:
print("Generating %s" % filename)
print("GEN %s" % filename)
with open(filename, 'w') as f:
f.write(file_data)

View File

@ -97,7 +97,7 @@ $(HEADER_BUILD):
ifneq ($(FROZEN_DIR),)
$(BUILD)/frozen.c: $(wildcard $(FROZEN_DIR)/*) $(HEADER_BUILD) $(FROZEN_EXTRA_DEPS)
$(ECHO) "Generating $@"
$(ECHO) "GEN $@"
$(Q)$(MAKE_FROZEN) $(FROZEN_DIR) > $@
endif
@ -118,7 +118,7 @@ $(BUILD)/frozen_mpy/%.mpy: $(FROZEN_MPY_DIR)/%.py $(TOP)/mpy-cross/mpy-cross
# to build frozen_mpy.c from all .mpy files
$(BUILD)/frozen_mpy.c: $(FROZEN_MPY_MPY_FILES) $(BUILD)/genhdr/qstrdefs.generated.h
@$(ECHO) "Creating $@"
@$(ECHO) "GEN $@"
$(Q)$(MPY_TOOL) -f -q $(BUILD)/genhdr/qstrdefs.preprocessed.h $(FROZEN_MPY_MPY_FILES) > $@
endif