Skip to content

Commit b16a755

Browse files
committed
py/mkrules.mk: Use "find -path" when searching for frozen obj files.
This allows the command to succeed without error even if there is no $(BUILD)/build directory, which is the case for mpy-cross.
1 parent e3383e9 commit b16a755

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
@@ -135,7 +135,7 @@ $(PROG): $(OBJ)
135135
ifndef DEBUG
136136
$(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $(PROG)
137137
endif
138-
$(Q)$(SIZE) $$(find $(BUILD)/build -name "frozen*.o") $(PROG)
138+
$(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $(PROG)
139139

140140
clean: clean-prog
141141
clean-prog:

0 commit comments

Comments
 (0)