Skip to content

Commit 5c32a5a

Browse files
committed
py: Remove mpy-cross depend when making frozen mpy's because we don't know the state under which its being built. Instead, build it before running the subsequent make.
1 parent 4215648 commit 5c32a5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/mkrules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ FROZEN_MPY_PY_FILES := $(shell find -L $(FROZEN_MPY_DIR) -type f -name '*.py' |
112112
FROZEN_MPY_MPY_FILES := $(addprefix $(BUILD)/frozen_mpy/,$(FROZEN_MPY_PY_FILES:.py=.mpy))
113113

114114
# to build .mpy files from .py files
115-
$(BUILD)/frozen_mpy/%.mpy: $(FROZEN_MPY_DIR)/%.py $(TOP)/mpy-cross/mpy-cross
115+
$(BUILD)/frozen_mpy/%.mpy: $(FROZEN_MPY_DIR)/%.py
116116
@$(ECHO) "MPY $<"
117117
$(Q)$(MKDIR) -p $(dir $@)
118118
$(Q)$(MPY_CROSS) -o $@ -s $(<:$(FROZEN_MPY_DIR)/%=%) $(MPY_CROSS_FLAGS) $<

0 commit comments

Comments
 (0)