py: Use "GEN" consistently for describing files generated in the build.
This commit is contained in:
parent
65ef59a9b5
commit
6af4515969
@ -99,7 +99,7 @@ def make_version_header(filename):
|
|||||||
|
|
||||||
# Only write the file if we need to
|
# Only write the file if we need to
|
||||||
if write_file:
|
if write_file:
|
||||||
print("Generating %s" % filename)
|
print("GEN %s" % filename)
|
||||||
with open(filename, 'w') as f:
|
with open(filename, 'w') as f:
|
||||||
f.write(file_data)
|
f.write(file_data)
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ $(HEADER_BUILD):
|
|||||||
|
|
||||||
ifneq ($(FROZEN_DIR),)
|
ifneq ($(FROZEN_DIR),)
|
||||||
$(BUILD)/frozen.c: $(wildcard $(FROZEN_DIR)/*) $(HEADER_BUILD) $(FROZEN_EXTRA_DEPS)
|
$(BUILD)/frozen.c: $(wildcard $(FROZEN_DIR)/*) $(HEADER_BUILD) $(FROZEN_EXTRA_DEPS)
|
||||||
$(ECHO) "Generating $@"
|
$(ECHO) "GEN $@"
|
||||||
$(Q)$(MAKE_FROZEN) $(FROZEN_DIR) > $@
|
$(Q)$(MAKE_FROZEN) $(FROZEN_DIR) > $@
|
||||||
endif
|
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
|
# to build frozen_mpy.c from all .mpy files
|
||||||
$(BUILD)/frozen_mpy.c: $(FROZEN_MPY_MPY_FILES) $(BUILD)/genhdr/qstrdefs.generated.h
|
$(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) > $@
|
$(Q)$(MPY_TOOL) -f -q $(BUILD)/genhdr/qstrdefs.preprocessed.h $(FROZEN_MPY_MPY_FILES) > $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user