Skip to content

Commit

Permalink
py: Use "GEN" consistently for describing files generated in the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgeorge committed Feb 22, 2018
1 parent 65ef59a commit 6af4515
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion py/makeversionhdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions py/mkrules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 6af4515

Please sign in to comment.