8000 py: Remove mpy-cross depend when making frozen mpy's because we don't… · ladyada/circuitpython@5c32a5a · GitHub
[go: up one dir, main page]

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
0